fix uninitialized variable
This commit is contained in:
parent
bbc8be8551
commit
421fdadd13
1 changed files with 1 additions and 1 deletions
2
echoc.c
2
echoc.c
|
@ -72,7 +72,7 @@ main(int argc, char *argv[])
|
||||||
socklen_t addrlen;
|
socklen_t addrlen;
|
||||||
int ch;
|
int ch;
|
||||||
int nfds, received = 0;
|
int nfds, received = 0;
|
||||||
int error, buffer, last;
|
int error, buffer, last = -1;
|
||||||
extern int optind;
|
extern int optind;
|
||||||
|
|
||||||
setbuf(stdout, NULL);
|
setbuf(stdout, NULL);
|
||||||
|
|
Loading…
Add table
Reference in a new issue