gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r26283 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r26283 - gnunet/src/util
Date: Mon, 4 Mar 2013 05:34:11 +0100

Author: grothoff
Date: 2013-03-04 05:34:11 +0100 (Mon, 04 Mar 2013)
New Revision: 26283

Modified:
   gnunet/src/util/scheduler.c
   gnunet/src/util/service.c
   gnunet/src/util/time.c
Log:
-fix

Modified: gnunet/src/util/scheduler.c
===================================================================
--- gnunet/src/util/scheduler.c 2013-03-04 02:42:48 UTC (rev 26282)
+++ gnunet/src/util/scheduler.c 2013-03-04 04:34:11 UTC (rev 26283)
@@ -1558,7 +1558,7 @@
   void *backtrace_array[MAX_TRACE_DEPTH];
 #endif
 
-  GNUNET_assert (active_task != NULL);
+  GNUNET_assert (NULL != active_task);
   GNUNET_assert (NULL != task);
   t = GNUNET_malloc (sizeof (struct Task));
   t->callback = task;

Modified: gnunet/src/util/service.c
===================================================================
--- gnunet/src/util/service.c   2013-03-04 02:42:48 UTC (rev 26282)
+++ gnunet/src/util/service.c   2013-03-04 04:34:11 UTC (rev 26283)
@@ -1506,6 +1506,7 @@
 
   if (0 != (GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason))
     return;
+  GNUNET_SPEEDUP_start_ (sctx->cfg);
   GNUNET_RESOLVER_connect (sctx->cfg);
   if (NULL != sctx->lsocks)
     sctx->server =
@@ -1813,7 +1814,6 @@
   /* actually run service */
   err = 0;
   GNUNET_SCHEDULER_run (&service_task, &sctx);
-  GNUNET_SPEEDUP_start_ (cfg);
   /* shutdown */
   if ((1 == do_daemonize) && (NULL != sctx.server))
     pid_file_delete (&sctx);

Modified: gnunet/src/util/time.c
===================================================================
--- gnunet/src/util/time.c      2013-03-04 02:42:48 UTC (rev 26282)
+++ gnunet/src/util/time.c      2013-03-04 04:34:11 UTC (rev 26283)
@@ -44,6 +44,7 @@
   timestamp_offset = offset;
 }
 
+
 /**
  * Get the current time (works just as "time", just that we use the
  * unit of time that the cron-jobs use (and is 64 bit)).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]