diff options
author | Miloslav Trmač <mitr@redhat.com> | 2012-07-18 17:19:10 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2012-07-30 09:06:55 +0200 |
commit | c2e6bca5d1a66f0d804b67ac4775f99ee926df0b (patch) | |
tree | 29173627b8e4d545f31f448374b8f16f11330592 | |
parent | e01603d72813053a6ba8414e6337062c3bdacd73 (diff) | |
download | libumberlog-c2e6bca5d1a66f0d804b67ac4775f99ee926df0b.tar.gz libumberlog-c2e6bca5d1a66f0d804b67ac4775f99ee926df0b.tar.xz libumberlog-c2e6bca5d1a66f0d804b67ac4775f99ee926df0b.zip |
Fix ul_recurse indicator, again.
Don't reset ul_recurse before exiting a recursive invocation.
Apparently I have send this patch before, followed by a patch that
immediately reverts it, so resending.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
-rw-r--r-- | lib/umberlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/umberlog.c b/lib/umberlog.c index 1697c12..69f4c3a 100644 --- a/lib/umberlog.c +++ b/lib/umberlog.c @@ -682,8 +682,8 @@ ul_legacy_vsyslog (int priority, const char *msg_format, va_list ap) { ul_recurse = 1; _ul_vsyslog (0, priority, msg_format, ap); + ul_recurse = 0; } - ul_recurse = 0; } void |