repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 9642c078ce79acc361acc3345ae25e0c481327fb:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 9642c078ce79acc361acc3345ae25e0c481327fb
Author: Marc Lehmann 
Date:   Mon Jan 16 10:37:32 2006 +0000

    *** empty log message ***

diff --git a/src/logging.C b/src/logging.C
index fcf1f5bde518ccef28cc772318c66f010d5bd08b..
index ..4b2eed0e27a3e50b30e8c71a4f9412a28c47564c 100644
--- a/src/logging.C
+++ b/src/logging.C
@@ -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

-----END OF PAGE-----