Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 0edc1ab5fa5058149211d8fea160d752 > files > 6

proftpd-1.3.2-0.4mdv2009.0.src.rpm

--- src/log.c	2008-12-17 00:43:55.000000000 +0100
+++ src/log.c.oden	2009-02-14 15:56:00.000000000 +0100
@@ -104,7 +104,7 @@ int log_wtmp(char *line, const char *nam
     time(&t);
     utx.ut_tv.tv_sec = (time32_t)t;
 #  else
-    time(&utx.ut_tv.tv_sec);
+    utx.ut_tv.tv_sec = time(NULL);
 #  endif
 #endif /* SVR4 */