Use single-bit fields for global flags
[exim.git] / src / src / tod.c
index c363845eedbc6c2a512691bb1b86650a03cff22a..b0d3ac9b05dbfd18ab70241d7f262cb657b76d71 100644 (file)
@@ -84,7 +84,7 @@ if (type == tod_log) type = log_timezone ? tod_log_zone : tod_log_bare;
 
 /* Convert to local time or UTC */
 
-t = timestamps_utc ? gmtime(&now.tv_sec) : localtime(&now.tv_sec);
+t = f.timestamps_utc ? gmtime(&now.tv_sec) : localtime(&now.tv_sec);
 
 switch(type)
   {
@@ -148,7 +148,7 @@ switch(type)
       struct tm local;
       memcpy(&local, t, sizeof(struct tm));
 
-      if (timestamps_utc)
+      if (f.timestamps_utc)
        diff_hour = diff_min = 0;
       else
        {