jim 97/03/05 16:19:55
Modified: src util.c Log: For some reason, MachTen requires this Revision Changes Path 1.47 +2 -1 apache/src/util.c Index: util.c =================================================================== RCS file: /export/home/cvs/apache/src/util.c,v retrieving revision 1.46 retrieving revision 1.47 diff -C3 -r1.46 -r1.47 *** util.c 1997/03/02 18:15:12 1.46 --- util.c 1997/03/06 00:19:54 1.47 *************** *** 107,114 **** #if defined(HAVE_GMTOFF) struct tm *get_gmtoff(int *tz) { time_t tt = time(NULL); ! struct tm *t = localtime(&tt); *tz = (int) (t->tm_gmtoff / 60); return t; } --- 107,115 ---- #if defined(HAVE_GMTOFF) struct tm *get_gmtoff(int *tz) { time_t tt = time(NULL); ! struct tm *t; + t = localtime(&tt); *tz = (int) (t->tm_gmtoff / 60); return t; }