]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - daemon.c
net.c: Fix a doxygen warning and trivial coding style cleanups.
[paraslash.git] / daemon.c
index 666b0a5c645cbc0f34b3347a3e021355a6444193..931124e65fe6a9224851c24c5b33f6e8d5dd6435 100644 (file)
--- a/daemon.c
+++ b/daemon.c
@@ -179,7 +179,7 @@ time_t server_uptime(enum uptime set_or_get)
  */
 __malloc char *uptime_str(void)
 {
-       time_t t = server_uptime(UPTIME_GET);
+       long t = server_uptime(UPTIME_GET);
        return make_message("%li:%02li:%02li", t / 86400,
                (t / 3600) % 24, (t / 60) % 60);
 }