From: <ro...@us...> - 2006-06-11 17:50:51
|
Revision: 16256 Author: roast Date: 2006-06-11 10:50:47 -0700 (Sun, 11 Jun 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16256&view=rev Log Message: ----------- a small out of order execution when trying to eliminate warnings Modified Paths: -------------- branches/soc-2006-file-loggers/src/log.c Modified: branches/soc-2006-file-loggers/src/log.c =================================================================== --- branches/soc-2006-file-loggers/src/log.c 2006-06-11 17:23:51 UTC (rev 16255) +++ branches/soc-2006-file-loggers/src/log.c 2006-06-11 17:50:47 UTC (rev 16256) @@ -743,10 +743,11 @@ #if defined (HAVE_TM_GMTOFF) && defined (HAVE_STRUCT_TM_TM_ZONE) long tz_off; const char *rest; - time_t stamp = gaim_str_to_time(gaim_unescape_filename(thetimestamp), FALSE, &tm, &tz_off, &rest); + time_t stamp; char *end; thetimestamp = (thetimestamp != NULL) ? thetimestamp + sizeof(gchar) : filename; + stamp = gaim_str_to_time(gaim_unescape_filename(thetimestamp), FALSE, &tm, &tz_off, &rest); /* As zero is a valid offset, GAIM_NO_TZ_OFF means no offset was * provided. See util.h. Yes, it's kinda ugly. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |