diff options
-rw-r--r-- | src/util/common_logging.c | 9 |
1 files 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) | |||
277 | void | 277 | void |
278 | GNUNET_log_skip (unsigned int n) | 278 | GNUNET_log_skip (unsigned int n) |
279 | { | 279 | { |
280 | int ok; | ||
281 | |||
282 | if (n == 0) | 280 | if (n == 0) |
283 | { | ||
284 | ok = (0 == skip_log); | ||
285 | skip_log = 0; | 281 | skip_log = 0; |
286 | GNUNET_assert (ok); | 282 | else |
287 | } | 283 | skip_log += n; |
288 | skip_log += n; | ||
289 | } | 284 | } |
290 | 285 | ||
291 | 286 | ||