Fix a small (copy&paste ?) typo in time zone parsing.
authorAndrej Kacian <ticho@claws-mail.org>
Tue, 21 Jul 2015 12:33:48 +0000 (14:33 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Tue, 21 Jul 2015 12:33:48 +0000 (14:33 +0200)
src/common/utils.c

index 0ad18cf..af1bb20 100644 (file)
@@ -3522,7 +3522,7 @@ time_t remote_tzoffset_sec(const gchar *zone)
                if (c == '-')
                        remoteoffset = -remoteoffset;
        } else if (!strncmp(zone, "UT" , 2) ||
-                  !strncmp(zone, "GMT", 2)) {
+                  !strncmp(zone, "GMT", 3)) {
                remoteoffset = 0;
        } else if (strlen(zone3) == 3) {
                for (p = ustzstr; *p != '\0'; p += 3) {