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 0ad18cf86e932e7689a0577f9e0844d2a557c9ff..af1bb20e30da830da41cb8eb8a75abcb13cfd16f 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) {