Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 6075fe81f07025311a53ece4d5077e72 > files > 1

screen-4.0.3-9.mga1.src.rpm

--- screen-3.9.11/utmp.c.biarch-utmp	2002-01-08 10:44:37.000000000 -0500
+++ screen-3.9.11/utmp.c	2003-04-08 14:14:49.000000000 -0400
@@ -622,7 +622,7 @@ int pid;
 #endif /* sgi */
   strncpy(u->ut_line, line, sizeof(u->ut_line));
   u->ut_pid = pid;
-  (void)time((time_t *)&u->ut_time);
+  u->ut_time = time(NULL);
 }
 
 static slot_t
@@ -732,7 +732,7 @@ int pid;
 {
   strncpy(u->ut_line, line, sizeof(u->ut_line));
   strncpy(u->ut_name, user, sizeof(u->ut_name));
-  (void)time((time_t *)&u->ut_time);
+  u->ut_time = time(NULL);
 }
 
 static slot_t