diff options
author | joda <joda@pkgsrc.org> | 2001-12-10 15:28:11 +0000 |
---|---|---|
committer | joda <joda@pkgsrc.org> | 2001-12-10 15:28:11 +0000 |
commit | f2fb1e1c2e0b735486ec140e415ef56214cdb104 (patch) | |
tree | 4896603f2421edf2de4826de248760aa73b9cfcc /www/dillo | |
parent | b50975e8eb861497a435b6afbd19e889d65cca90 (diff) | |
download | pkgsrc-f2fb1e1c2e0b735486ec140e415ef56214cdb104.tar.gz |
need to zero out sockaddr before calling connect
Diffstat (limited to 'www/dillo')
-rw-r--r-- | www/dillo/distinfo | 3 | ||||
-rw-r--r-- | www/dillo/patches/patch-ab | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/www/dillo/distinfo b/www/dillo/distinfo index 03d1f3ff649..65cc9f44820 100644 --- a/www/dillo/distinfo +++ b/www/dillo/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2001/12/06 16:15:41 dillo Exp $ +$NetBSD: distinfo,v 1.2 2001/12/10 15:28:11 joda Exp $ SHA1 (dillo-0.6.2.tar.gz) = 68b0b3fe756190c31964442108617c56d35cd214 Size (dillo-0.6.2.tar.gz) = 279913 bytes SHA1 (patch-aa) = 1ae5a680306102d03d587acfbbf16cbf1f5df366 +SHA1 (patch-ab) = 682e0d361e737111c1730e18e48975204a4361fe diff --git a/www/dillo/patches/patch-ab b/www/dillo/patches/patch-ab new file mode 100644 index 00000000000..49c369a1c49 --- /dev/null +++ b/www/dillo/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1 2001/12/10 15:28:12 joda Exp $ + +--- src/IO/http.c.orig Tue Oct 16 17:53:53 2001 ++++ src/IO/http.c Mon Dec 10 16:20:42 2001 +@@ -211,6 +211,7 @@ + SocketData_t *S = a_Klist_get_data(ValidSocks, (gint)Info->LocalKey); + + /* Set remaining parms. */ ++ memset(&name, 0, sizeof(sin)); + name.sin_family = AF_INET; + name.sin_port = S->port ? htons(S->port) : htons(DILLO_URL_HTTP_PORT); + name.sin_addr.s_addr = htonl(S->ip_addr); |