diff options
author | Miloslav Trmač <mitr@redhat.com> | 2012-07-24 13:41:14 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2012-07-30 07:29:13 +0200 |
commit | 084c4caeb3c7e0ab4fe8931b100fdab792e25862 (patch) | |
tree | 1d7bae2a7935b5f4278125c347c821686eb7a00e /lib | |
parent | e8d2d56386a689f0e21125b7cf394c481fa1534a (diff) | |
download | libumberlog-084c4caeb3c7e0ab4fe8931b100fdab792e25862.tar.gz libumberlog-084c4caeb3c7e0ab4fe8931b100fdab792e25862.tar.xz libumberlog-084c4caeb3c7e0ab4fe8931b100fdab792e25862.zip |
Don't reset flags on closelog()
... to be compatible with BSD syslog.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/umberlog.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/umberlog.c b/lib/umberlog.c index e06f87a..e336ac3 100644 --- a/lib/umberlog.c +++ b/lib/umberlog.c @@ -117,7 +117,6 @@ ul_closelog (void) old_closelog (); memset (&ul_thread_data, 0, sizeof (ul_thread_data)); pthread_mutex_lock (&ul_process_data.lock); - ul_process_data.flags = 0; ul_process_data.ident = NULL; pthread_mutex_unlock (&ul_process_data.lock); } |