aboutsummaryrefslogtreecommitdiffstats
path: root/scoretbl.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2018-10-13 13:46:00 -0700
committerH. Peter Anvin <hpa@zytor.com>2018-10-13 13:46:00 -0700
commit8f72c143b41c199eca261e543a5df52665bb62ae (patch)
tree4b2a4909c9c2233fd87b77f834244f9ec81bd2bb /scoretbl.c
parent8e22d9aa87e26881c1c70e0652cfe5397febbeea (diff)
downloadgrv-8f72c143b41c199eca261e543a5df52665bb62ae.tar.gz
grv-8f72c143b41c199eca261e543a5df52665bb62ae.tar.xz
grv-8f72c143b41c199eca261e543a5df52665bb62ae.zip
scoretbl.c: flush output after writing
Diffstat (limited to 'scoretbl.c')
-rw-r--r--scoretbl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scoretbl.c b/scoretbl.c
index f04d40e..0350034 100644
--- a/scoretbl.c
+++ b/scoretbl.c
@@ -247,7 +247,7 @@ int highscore_write(FILE *f, uint8_t leave)
}
}
- return 0;
+ return fflush(f);
}
int have_upload_scores(void)