Fix haxxer typer
This commit is contained in:
parent
403b0863b6
commit
07960b142c
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ int main(int argc, char *argv[]) {
|
|||
while (!feof(command_output_fptr)) {
|
||||
getchar();
|
||||
|
||||
for (unsigned int i = 0; i < CHARS_TO_WRITE; i++) {
|
||||
for (unsigned int i = 0; i < CHARS_TO_WRITE && !feof(command_output_fptr); i++) {
|
||||
current_char = fgetc(command_output_fptr);
|
||||
printf("%c", current_char);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue