# HG changeset patch
# User Ka-Hing Cheung <khc@hxbc.us>
# Date 1189295879 0
# Node ID c32fbef16656aa7f1b3174193f443ade8380b1b0
# Parent  2d8999540239e71553a9e69edf435a0c432234a5
Fixes #2990, apparently I used the wrong #define. Also fix + timezone
parsing

diff -r 2d8999540239 -r c32fbef16656 libpurple/protocols/msn/oim.c
--- a/libpurple/protocols/msn/oim.c	Thu Sep 06 06:58:29 2007 +0000
+++ b/libpurple/protocols/msn/oim.c	Sat Sep 08 23:57:59 2007 +0000
@@ -443,11 +443,13 @@
 			if (*tz_str == '-') {
 				offset_positive = FALSE;
 				tz_ptr++;
+			} else if (*tz_str == '+') {
+				tz_ptr++;
 			}
 
 			if (sscanf(tz_ptr, "%02d%02d", &tzhrs, &tzmins) == 2) {
 				t.tm_year -= 1900;
-#if HAVE_TIMEZONE
+#if HAVE_TM_GMTOFF
 				t.tm_gmtoff = tzhrs * 60 * 60 + tzmins * 60;
 				if (!offset_positive)
 					t.tm_gmtoff *= -1;