summaryrefslogtreecommitdiff
path: root/pr/tests/intrupt.c
diff options
context:
space:
mode:
authorwtc <devnull@localhost>1998-04-28 22:43:48 +0000
committerwtc <devnull@localhost>1998-04-28 22:43:48 +0000
commitc6d8300952bf5b808ef70c986a7351d0a33804c1 (patch)
tree8e24d8847da182936c808c241e64c617024abf8a /pr/tests/intrupt.c
parentece7a202bbd2c155f2049cbf79648fd68035a710 (diff)
downloadnspr-hg-c6d8300952bf5b808ef70c986a7351d0a33804c1.tar.gz
Merged NSPRPUB_19980421_BRANCH to the main trunk.
Diffstat (limited to 'pr/tests/intrupt.c')
-rw-r--r--pr/tests/intrupt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pr/tests/intrupt.c b/pr/tests/intrupt.c
index 7cd9a428..d8d1de53 100644
--- a/pr/tests/intrupt.c
+++ b/pr/tests/intrupt.c
@@ -194,8 +194,8 @@ void PR_CALLBACK Intrupt(void *arg)
if (debug_mode) printf("Part III\n");
listner = PR_NewTCPSocket();
memset(&netaddr, 0, sizeof(netaddr));
- netaddr.inet.ip = PR_htonl(INADDR_ANY);
- netaddr.inet.family = AF_INET;
+ netaddr.inet.ip = PR_htonl(PR_INADDR_ANY);
+ netaddr.inet.family = PR_AF_INET;
do
{
netaddr.inet.port = PR_htons(port);