summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrinivas%netscape.com <devnull@localhost>1999-10-06 19:07:19 +0000
committersrinivas%netscape.com <devnull@localhost>1999-10-06 19:07:19 +0000
commitf40ceab0f00e630ac361c30b657107b9ba9a5ed9 (patch)
tree9dcd50568e84e5f12c580fd6e7dd0d0b8ab3ea63
parent02b512ad0476ba0eb5ded07e88384dcc13027e46 (diff)
downloadnspr-hg-f40ceab0f00e630ac361c30b657107b9ba9a5ed9.tar.gz
Fixed bug in previous checkin - initialize variables before use.
-rw-r--r--pr/tests/sockopt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pr/tests/sockopt.c b/pr/tests/sockopt.c
index 6b4907b9..da27aca4 100644
--- a/pr/tests/sockopt.c
+++ b/pr/tests/sockopt.c
@@ -145,6 +145,8 @@ PRIntn main(PRIntn argc, char *argv)
size = &ttlsize;
break;
case PR_SockOpt_Broadcast:
+ value = &boolean;
+ size = &booleansize;
break;
case PR_SockOpt_IpTypeOfService: /* type of service and precedence */
case PR_SockOpt_AddMember: /* add an IP group membership */