]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
time_t is not always struct
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 1 Dec 2009 05:53:30 +0000 (18:53 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 1 Dec 2009 05:53:30 +0000 (18:53 +1300)
helpers/negotiate_auth/kerberos/negotiate_kerberos_auth_test.cc

index 228a59b3a828da51f99f1a5fdcae53cfb3294623..dd9c2d84b9aaed9fd474fae3430b3bfdb316eff5 100644 (file)
@@ -91,7 +91,7 @@ LogTime()
 
     gettimeofday(&now, NULL);
     if (now.tv_sec != last_t) {
-        tm = localtime((const struct time_t*)&now.tv_sec);
+        tm = localtime((const time_t*)&now.tv_sec);
         strftime(buf, 127, "%Y/%m/%d %H:%M:%S", tm);
         last_t = now.tv_sec;
     }