comparison 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
comparison
equal deleted inserted replaced
84:bb309cd2fea4 85:1534b2c08c74
585 } 585 }
586 586
587 587
588 int main(int argc, char *argv[]) 588 int main(int argc, char *argv[])
589 { 589 {
590 int tmpSocket, curVis, updateCount = 0; 590 int tmpSocket = -1, curVis = ERR, updateCount = 0;
591 struct hostent *tmpHost; 591 struct hostent *tmpHost;
592 BOOL argsOK, isError = FALSE, 592 BOOL argsOK, isError = FALSE,
593 exitProg = FALSE, 593 exitProg = FALSE,
594 colorSet = FALSE, 594 colorSet = FALSE,
595 cursesInit = FALSE, 595 cursesInit = FALSE,