Revision: 2367
http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2367&view=rev
Author: teuf
Date: 2009-06-05 20:42:28 +0000 (Fri, 05 Jun 2009)
Log Message:
-----------
Don't set a bogus timezone if we couldn't parse the raw timezone
Modified Paths:
--------------
libgpod/trunk/src/itdb_tzinfo.c
Modified: libgpod/trunk/src/itdb_tzinfo.c
===================================================================
--- libgpod/trunk/src/itdb_tzinfo.c 2009-06-05 20:42:16 UTC (rev 2366)
+++ libgpod/trunk/src/itdb_tzinfo.c 2009-06-05 20:42:28 UTC (rev 2367)
@@ -265,6 +265,9 @@
return;
}
result = raw_timezone_converter (raw_timezone, &timezone);
+ if (!result) {
+ return;
+ }
if ((timezone < -12*3600) || (timezone > 12 * 3600)) {
return;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2