From: Nils Durner Date: Wed, 26 Aug 2009 20:47:59 +0000 (+0000) Subject: don't fail if conditional log output didn't actually happen X-Git-Tag: initial-import-from-subversion-38251~23584 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2f7e69f969a822a38f9e311f79358e0fe8bda9d8;p=oweals%2Fgnunet.git don't fail if conditional log output didn't actually happen --- diff --git a/src/util/common_logging.c b/src/util/common_logging.c index a1a60b800..0ed40b839 100644 --- a/src/util/common_logging.c +++ b/src/util/common_logging.c @@ -277,15 +277,10 @@ flush_bulk (const char *datestr) 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; }