/[monit]/monit/util.c
ViewVC logotype

Diff of /monit/util.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.52 by martinp, Mon Dec 30 15:25:30 2002 UTC revision 1.53 by chopp, Wed Jan 15 09:01:55 2003 UTC
# Line 742  char *get_RFC1123date(long *date) { Line 742  char *get_RFC1123date(long *date) {
742    timezone_h = tm_now->tm_gmtoff/3600;    timezone_h = tm_now->tm_gmtoff/3600;
743    timezone_m = abs(tm_now->tm_gmtoff/60)%60;    timezone_m = abs(tm_now->tm_gmtoff/60)%60;
744  #else  #else
745    timezone_h = -(timezone/3600)+daylight;    timezone_h = -(timezone/3600)+(tm_now->tm_isdst>0);
746    timezone_m = abs(timezone/60)%60;    timezone_m = abs(timezone/60)%60;
747  #endif  #endif
748    

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26