changeset 85:1534b2c08c74

Initialize some variables.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 20 Apr 2009 22:06:03 +0300
parents bb309cd2fea4
children 7577eb770892
files nnchat.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nnchat.c	Mon Apr 20 22:05:53 2009 +0300
+++ b/nnchat.c	Mon Apr 20 22:06:03 2009 +0300
@@ -587,7 +587,7 @@
 
 int main(int argc, char *argv[])
 {
-    int tmpSocket, curVis, updateCount = 0;
+    int tmpSocket = -1, curVis = ERR, updateCount = 0;
     struct hostent *tmpHost;
     BOOL argsOK, isError = FALSE,
         exitProg = FALSE,