Get rid of gets

Submitted by: Ollivier Robert
This commit is contained in:
Andrey A. Chernov 1994-11-29 01:11:43 +00:00
parent 3d9528063c
commit f3be64932f

View File

@ -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);