changeset 5284:0a38c5a00b85

[gaim-migrate @ 5656] jabber now compiles :-) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 02 May 2003 18:13:08 +0000
parents 1872e8efba87
children d921cd867bfa
files src/protocols/jabber/jabber.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c	Fri May 02 17:25:49 2003 +0000
+++ b/src/protocols/jabber/jabber.c	Fri May 02 18:13:08 2003 +0000
@@ -1233,8 +1233,8 @@
 {
 	struct tm t;
 	time_t retval = 0;
+	char tz[6] = "";
 	localtime_r(NULL, &t);
-	char tz[6] = "";
 
 	if(sscanf(timestamp, "%04d%02d%02dT%02d:%02d:%02d%5s",
 		&t.tm_year, &t.tm_mon, &t.tm_mday, &t.tm_hour, &t.tm_min, &t.tm_sec, tz))