fix
authorChristian Grothoff <christian@grothoff.org>
Wed, 30 Sep 2009 21:31:03 +0000 (21:31 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 30 Sep 2009 21:31:03 +0000 (21:31 +0000)
src/util/scheduler.c

index d56c44276e7fdc2fe9669d824e775a9af8ae441b..7630d8fa5a3546662a7b81f607d4e6f053f462cc 100644 (file)
@@ -508,7 +508,7 @@ GNUNET_SCHEDULER_run (GNUNET_SCHEDULER_Task task, void *cls)
           timeout = GNUNET_TIME_relative_get_zero();
         }
       update_sets (&sched, rs, ws, &timeout);
-      ret = GNUNET_NETWORK_socket_select (rs, ws, NULL, GNUNET_TIME_relative_get_zero());
+      ret = GNUNET_NETWORK_socket_select (rs, ws, NULL, timeout);
       if (ret == GNUNET_SYSERR)
         {
           if (errno == EINTR)