summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2004-03-10 18:35:05 +0000
committererdgeist <>2004-03-10 18:35:05 +0000
commit4dc5ab5db53e9d81cf92b182ac98338ecd174513 (patch)
treef03b42a5635ed6a438d41ba2b5b7e81bd2f89769
parent98339c3cc15b4112d0d1bf5d6635df2ad8cc5394 (diff)
File descriptor has not been invalidated
-rwxr-xr-xvchat-protocol.c1
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;