repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 9642c078ce79acc361acc3345ae25e0c481327fb: path_to: revision_to:
commit 9642c078ce79acc361acc3345ae25e0c481327fb Author: Marc LehmannDate: Mon Jan 16 10:37:32 2006 +0000 *** empty log message *** diff --git a/src/logging.C b/src/logging.C
--- 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-----