]> andersk Git - moira.git/commitdiff
do timezones correctly
authormar <mar>
Tue, 3 Sep 1991 17:20:26 +0000 (17:20 +0000)
committermar <mar>
Tue, 3 Sep 1991 17:20:26 +0000 (17:20 +0000)
gen/moddiff.dc

index 483a97daa7f40a04bbe053c8910bea9e5692bee3..8084d776ff425aa8b30496da5cef352b2aff7ee6 100644 (file)
@@ -67,12 +67,12 @@ struct timeval *UTime;
 
     if (defzone == -1) {
        struct timeval tv;
-       struct tzp tz;
+       struct timezone tz;
 
-       if (gettimeofday(&tv, &tzp))
+       if (gettimeofday(&tv, &tz))
          defzone = 0;
        else
-         defzone = tzp->tz_minuteswest;
+         defzone = tz.tz_minuteswest;
     }
 
 #ifdef DEBUG
This page took 0.995377 seconds and 5 git commands to generate.