Get rid of gets
Submitted by: Ollivier Robert
This commit is contained in:
parent
3d9528063c
commit
f3be64932f
@ -604,7 +604,7 @@ child_died(code)
|
||||
}
|
||||
printf("[Hit return to continue]");
|
||||
fflush(stdout);
|
||||
(void) gets(inputbuffer);
|
||||
(void) fgets(inputbuffer, sizeof(inputbuffer), stdin);
|
||||
setconnmode();
|
||||
ConnectScreen(); /* Turn screen on (if need be) */
|
||||
(void) close(serversock);
|
||||
|
Loading…
Reference in New Issue
Block a user