aboutsummaryrefslogtreecommitdiffstats
path: root/highscore.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2003-03-25 08:11:16 +0000
committerH. Peter Anvin <hpa@zytor.com>2003-03-25 08:11:16 +0000
commita3e5e679f6f04124c122b90e581791f923dcd3ae (patch)
tree2eeb54903d14808a8dae2554b2cfd5651016277b /highscore.c
parent6b141a7438f00114e4366cff823859c8353d19d8 (diff)
downloadgrv-a3e5e679f6f04124c122b90e581791f923dcd3ae.tar.gz
grv-a3e5e679f6f04124c122b90e581791f923dcd3ae.tar.xz
grv-a3e5e679f6f04124c122b90e581791f923dcd3ae.zip
Revamp some stuff for Winsuck combatibility, sigh
Diffstat (limited to 'highscore.c')
-rw-r--r--highscore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/highscore.c b/highscore.c
index 8db12bc..ab07821 100644
--- a/highscore.c
+++ b/highscore.c
@@ -31,7 +31,7 @@ void highscore_download(void)
if ( !gp.nonet ) {
if ( (f = fopen_network(score_server, score_port, 0)) ) {
highscore_parse(f);
- fclose(f);
+ fclose_network(f);
}
}
}
@@ -49,7 +49,7 @@ void highscore_upload(void)
if ( !gp.nonet ) {
if ( (f = fopen_network(score_server, score_port, 1)) ) {
highscore_write(f);
- fclose(f);
+ fclose_network(f);
}
}
}