summaryrefslogtreecommitdiff
path: root/vchat-protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'vchat-protocol.c')
-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;