From 2f7e69f969a822a38f9e311f79358e0fe8bda9d8 Mon Sep 17 00:00:00 2001 From: Nils Durner Date: Wed, 26 Aug 2009 20:47:59 +0000 Subject: [PATCH] don't fail if conditional log output didn't actually happen --- src/util/common_logging.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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; } -- 2.25.1