Mercurial > hg > nnchat
diff nnchat.c @ 85:1534b2c08c74
Initialize some variables.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 20 Apr 2009 22:06:03 +0300 |
parents | 335b5a74c22e |
children | 7577eb770892 |
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,