*** empty log message ***
authorroot <root>
Mon, 16 Jan 2006 10:37:32 +0000 (10:37 +0000)
committerroot <root>
Mon, 16 Jan 2006 10:37:32 +0000 (10:37 +0000)
src/logging.C

index fcf1f5bde518ccef28cc772318c66f010d5bd08b..4b2eed0e27a3e50b30e8c71a4f9412a28c47564c 100644 (file)
@@ -243,7 +243,7 @@ rxvt_term::cleanutent ()
   strncpy (ut->ut_id, this->ut_id, sizeof (ut->ut_id));
   ut->ut_type = USER_PROCESS;
   {
-    struct utmp    *tmput = getutid (ut);
+    struct utmp *tmput = getutid (ut);
 
     if (tmput)         /* position to entry in utmp file */
       ut = tmput;
@@ -288,12 +288,8 @@ rxvt_term::cleanutent ()
       rxvt_update_wtmp (RXVT_WTMP_FILE, ut);
 #  endif
 # endif
-# ifdef HAVE_STRUCT_UTMPX
-#  if HAVE_UPDWTMPX
+# if defined(HAVE_STRUCT_UTMPX) && defined(HAVE_UPDWTMPX)
       updwtmpx (RXVT_WTMPX_FILE, utx);
-#  else
-      pututxline (utx);
-#  endif
 # endif
     }
 #endif