diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2000-02-15 04:10:19 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2000-02-15 04:10:19 -0500 |
commit | 383b3f2ddbc1e2b64996958c1d9d944979fd190b (patch) | |
tree | 5c448e24f1b69593713b31529d1bdedf39a22a9d /WWW/Library/Implementation/HTTCP.c | |
parent | d61bc4e56055c372ab0b8d027f376c2f4a2ecfff (diff) | |
download | lynx-snapshots-383b3f2ddbc1e2b64996958c1d9d944979fd190b.tar.gz |
snapshot of project "lynx", label v2-8-3dev_19
Diffstat (limited to 'WWW/Library/Implementation/HTTCP.c')
-rw-r--r-- | WWW/Library/Implementation/HTTCP.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/WWW/Library/Implementation/HTTCP.c b/WWW/Library/Implementation/HTTCP.c index 96cc2c2b..36c8ef2d 100644 --- a/WWW/Library/Implementation/HTTCP.c +++ b/WWW/Library/Implementation/HTTCP.c @@ -1470,7 +1470,7 @@ PUBLIC int HTDoConnect ARGS4( */ memset(soc_in, 0, sizeof(*soc_in)); soc_in->sin_family = AF_INET; - soc_in->sin_port = htons(default_port); + soc_in->sin_port = htons((unsigned short) default_port); /* ** Get node name and optional port number. @@ -1977,7 +1977,6 @@ PUBLIC int BSDselect ARGS5( switch (rval) { case -1: return(rval); - break; case 0: if (readfds != NULL) @@ -1987,7 +1986,6 @@ PUBLIC int BSDselect ARGS5( if (exceptfds != NULL) FD_ZERO(exceptfds); return(rval); - break; default: for (i = 0, rval = 0; i < nfds; i++) { |