]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - server.c
afh_recv: Switch to the alternative post select method.
[paraslash.git] / server.c
index 2595d9c4edaf649e9843150697855cbfe0c8d555..57f0c26ee36e046e4390157f49352bb0e7fccf70 100644 (file)
--- a/server.c
+++ b/server.c
@@ -67,7 +67,6 @@
  */
 
 #include <signal.h>
-#include <sys/time.h>
 #include <regex.h>
 #include <osl.h>
 
@@ -493,7 +492,7 @@ static void server_init(int argc, char **argv)
        log_welcome("para_server");
        init_ipc_or_die(); /* init mmd struct and mmd->lock */
        /* make sure, the global now pointer is uptodate */
-       gettimeofday(now, NULL);
+       clock_get_realtime(now);
        set_server_start_time(now);
        init_user_list(user_list_file);
        /* become daemon */