[Commits] [SCM] claws branch, master, updated. 3.12.0-12-gbd4e7f8

ticho at claws-mail.org ticho at claws-mail.org
Tue Jul 21 14:34:37 CEST 2015


The branch, master has been updated
       via  bd4e7f852004067a820a9f4fd9036ebfc235b1bb (commit)
      from  17482260eebb41638d96ee48e5d9be52f54d7c02 (commit)

Summary of changes:
 src/common/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit bd4e7f852004067a820a9f4fd9036ebfc235b1bb
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Tue Jul 21 14:33:48 2015 +0200

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

diff --git a/src/common/utils.c b/src/common/utils.c
index 0ad18cf..af1bb20 100644
--- 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) {

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list