talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit bd4e7f852004067a820a9f4fd9036ebfc235b1bb
parent 17482260eebb41638d96ee48e5d9be52f54d7c02
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Tue, 21 Jul 2015 14:33:48 +0200

Fix a small (copy&paste ?) typo in time zone parsing.

Diffstat:
Msrc/common/utils.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/utils.c b/src/common/utils.c @@ -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) {