gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r8862 - gnunet/src/util
Date: Wed, 26 Aug 2009 14:47:59 -0600

Author: durner
Date: 2009-08-26 14:47:59 -0600 (Wed, 26 Aug 2009)
New Revision: 8862

Modified:
   gnunet/src/util/common_logging.c
Log:
don't fail if conditional log output didn't actually happen

Modified: gnunet/src/util/common_logging.c
===================================================================
--- gnunet/src/util/common_logging.c    2009-08-26 20:44:17 UTC (rev 8861)
+++ gnunet/src/util/common_logging.c    2009-08-26 20:47:59 UTC (rev 8862)
@@ -277,15 +277,10 @@
 void
 GNUNET_log_skip (unsigned int n)
 {
-  int ok;
-
   if (n == 0)
-    {
-      ok = (0 == skip_log);
       skip_log = 0;
-      GNUNET_assert (ok);
-    }
-  skip_log += n;
+  else
+    skip_log += n;
 }
 
 





reply via email to

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