diff options
author | erdgeist <> | 2004-03-10 18:35:05 +0000 |
---|---|---|
committer | erdgeist <> | 2004-03-10 18:35:05 +0000 |
commit | 4dc5ab5db53e9d81cf92b182ac98338ecd174513 (patch) | |
tree | f03b42a5635ed6a438d41ba2b5b7e81bd2f89769 | |
parent | 98339c3cc15b4112d0d1bf5d6635df2ad8cc5394 (diff) |
File descriptor has not been invalidated
-rwxr-xr-x | vchat-protocol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vchat-protocol.c b/vchat-protocol.c index a78d587..7c91638 100755 --- a/vchat-protocol.c +++ b/vchat-protocol.c | |||
@@ -127,6 +127,7 @@ vcconnect (unsigned char *server, unsigned char *port) | |||
127 | if( connect( serverfd, addr->ai_addr, addr->ai_addrlen ) < 0) | 127 | if( connect( serverfd, addr->ai_addr, addr->ai_addrlen ) < 0) |
128 | { | 128 | { |
129 | close( serverfd ); | 129 | close( serverfd ); |
130 | serverfd = -1; | ||
130 | continue; | 131 | continue; |
131 | } | 132 | } |
132 | break; | 133 | break; |