Fix haxxer typer #1
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ int main(int argc, char *argv[]) {
|
||||||
while (!feof(command_output_fptr)) {
|
while (!feof(command_output_fptr)) {
|
||||||
getchar();
|
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);
|
current_char = fgetc(command_output_fptr);
|
||||||
printf("%c", current_char);
|
printf("%c", current_char);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue