diff options
author | Nils Durner <durner@gnunet.org> | 2009-08-29 18:02:06 +0000 |
---|---|---|
committer | Nils Durner <durner@gnunet.org> | 2009-08-29 18:02:06 +0000 |
commit | d867aaafeb27cc071388559585a0d0dfbc96e45b (patch) | |
tree | a29a2271761be8ce0eb6c956cac257ba02e446a7 /src/util | |
parent | 995112dc9365178c332ed08a3e167c0bba9843a3 (diff) | |
download | gnunet-d867aaafeb27cc071388559585a0d0dfbc96e45b.tar.gz gnunet-d867aaafeb27cc071388559585a0d0dfbc96e45b.zip |
fix
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/common_logging.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/common_logging.c b/src/util/common_logging.c index cf206ef91..8d9eb5a76 100644 --- a/src/util/common_logging.c +++ b/src/util/common_logging.c | |||
@@ -280,6 +280,9 @@ GNUNET_log_skip (unsigned int n, int check_reset) | |||
280 | { | 280 | { |
281 | if (n == 0) | 281 | if (n == 0) |
282 | { | 282 | { |
283 | int ok; | ||
284 | |||
285 | ok = (0 == skip_log); | ||
283 | skip_log = 0; | 286 | skip_log = 0; |
284 | if (check_reset) | 287 | if (check_reset) |
285 | GNUNET_assert (ok); | 288 | GNUNET_assert (ok); |