aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-18 15:40:53 +0100
committerMax Kellermann <max@duempel.org>2009-01-18 15:40:53 +0100
commit004dfddca383394426f6d191a43c9a0131cdee34 (patch)
tree6f23a82122f02c63e7830dfa812e017f6c80d837 /src/main.c
parent14ca99b22469808642034813156281a203cfee5e (diff)
downloadmpd-004dfddca383394426f6d191a43c9a0131cdee34.tar.gz
mpd-004dfddca383394426f6d191a43c9a0131cdee34.tar.xz
mpd-004dfddca383394426f6d191a43c9a0131cdee34.zip
stats: use GTimer instead of time(NULL)
time(NULL) shows the wrong results when the machine's clock is changed.
Diffstat (limited to '')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index d5bb98dc0..ee6efd194 100644
--- a/src/main.c
+++ b/src/main.c
@@ -350,6 +350,7 @@ int main(int argc, char *argv[])
songvec_deinit();
dirvec_deinit();
idle_deinit();
+ stats_global_finish();
close_log_files();
return EXIT_SUCCESS;