]> andersk Git - moira.git/blobdiff - gen/moddiff.dc
move zip code correctly
[moira.git] / 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.030971 seconds and 4 git commands to generate.