aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozilla/files/patch-ao
blob: 29a1b3ecbad7715b20a2f4bde8289566f6e5ee18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- nsprpub/pr/src/misc/prnetdb.c.orig  Wed Mar  8 08:27:18 2000
+++ nsprpub/pr/src/misc/prnetdb.c   Thu Jan 18 17:52:51 2001
@@ -924,6 +924,7 @@
     PRStatus rv = PR_SUCCESS;
     if (!_pr_initialized) _PR_ImplicitInitialization();
 
+   bzero(&(addr->inet),sizeof(addr->inet));
    addr->inet.family = AF_INET;
    addr->inet.port = htons(port);
    switch (val)