summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2003-03-29 06:08:50 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2003-03-29 06:08:50 (GMT)
commit83c66b97aff2cc41cf89669869945e41509c8f85 (patch)
tree608ffdaf5b73a8564ba5d8e4c590e60327134a6b
parent22dba96a12a6ac7b1075742f93af9a30cd3e0419 (diff)
downloadgrv-83c66b97aff2cc41cf89669869945e41509c8f85.zip
grv-83c66b97aff2cc41cf89669869945e41509c8f85.tar.gz
grv-83c66b97aff2cc41cf89669869945e41509c8f85.tar.bz2
grv-83c66b97aff2cc41cf89669869945e41509c8f85.tar.xz
Fix fgets/fputs confusion bug
-rw-r--r--grvscored.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/grvscored.c b/grvscored.c
index 2517cae..3524001 100644
--- a/grvscored.c
+++ b/grvscored.c
@@ -49,7 +49,7 @@ int score_recv(const char *file)
flock(fileno(f), LOCK_EX);
alarm(120); /* Make sure we have a sane timeout */
- highscore_parse(f, fputs);
+ highscore_parse(f, fgets);
rewind(f);
highscore_parse(stdin, fgets);
if ( highscore_write(t, fputs) ) {