summaryrefslogtreecommitdiff
path: root/lib/ZOpenPort.c
diff options
context:
space:
mode:
authorGravatar Robert S. French <rfrench@mit.edu>1987-06-10 09:28:15 +0000
committerGravatar Robert S. French <rfrench@mit.edu>1987-06-10 09:28:15 +0000
commitb377bd864f4ad62f5332e45faaa5761f9dedd55a (patch)
tree5765e7ca953f521badf2c8c0a04cb151d5f3368e /lib/ZOpenPort.c
parentd5986c2929235cd0265378f8c23a259f9b621298 (diff)
Fixed problem with ZSetFD and closing
Diffstat (limited to 'lib/ZOpenPort.c')
-rw-r--r--lib/ZOpenPort.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ZOpenPort.c b/lib/ZOpenPort.c
index bdf3709..841e7ea 100644
--- a/lib/ZOpenPort.c
+++ b/lib/ZOpenPort.c
@@ -56,6 +56,7 @@ Code_t ZOpenPort(port)
} while (retval < 0 && port);
__Zephyr_port = ntohs(bindin.sin_port);
+ __Zephyr_open = 1;
if (port)
*port = ntohs(bindin.sin_port);