projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9599ddd
)
don't fail if conditional log output didn't actually happen
author
Nils Durner
<durner@gnunet.org>
Wed, 26 Aug 2009 20:47:59 +0000
(20:47 +0000)
committer
Nils Durner
<durner@gnunet.org>
Wed, 26 Aug 2009 20:47:59 +0000
(20:47 +0000)
src/util/common_logging.c
patch
|
blob
|
history
diff --git
a/src/util/common_logging.c
b/src/util/common_logging.c
index a1a60b800bd23395871cc96215217ee6e16a6a32..0ed40b839dd94918b3c354acc3331c6eb554c5a9 100644
(file)
--- 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;
}