]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(closelog): Reset LogType to SOCK_DGRAM.
authorUlrich Drepper <drepper@redhat.com>
Fri, 11 Feb 2000 18:03:50 +0000 (18:03 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 11 Feb 2000 18:03:50 +0000 (18:03 +0000)
misc/syslog.c

index eaae3c96da87097aa3f39e0bead6d2a1574bd875..f27d53a35f0ff97355e2f078ff04f2567eb105e6 100644 (file)
@@ -329,7 +329,8 @@ closelog ()
 
   closelog_internal ();
   LogTag = NULL;
-
+  LogType = SOCK_DGRAM; /* this is the default */
+  
   /* Free the lock.  */
   __libc_cleanup_region_end (1);
 }