[Commits] [SCM] claws branch, master, updated. 3.9.3-2-gde111b3

mones at claws-mail.org mones at claws-mail.org
Mon Dec 16 02:24:24 CET 2013


The branch master of project "claws" (Claws Mail) has been updated
       via  de111b33be695c09af245be19280402aad886020 (commit)
      from  a21217e9fc3f2eb20d48084efc9dff67ed7e428d (commit)


- Log -----------------------------------------------------------------
commit de111b33be695c09af245be19280402aad886020
Author: Ricardo Mones <ricardo at mones.org>
Date:   Mon Dec 16 02:21:59 2013 +0100

    Fix parsing universal time zone in mailmbox
    
    Detected thanks to the ‘-Wlogical-op’ gcc flag.

diff --git a/src/plugins/mailmbox/mailimf.c b/src/plugins/mailmbox/mailimf.c
index 03b1c19..28374a3 100644
--- a/src/plugins/mailmbox/mailimf.c
+++ b/src/plugins/mailmbox/mailimf.c
@@ -2665,7 +2665,7 @@ static int mailimf_zone_parse(const char * message, size_t length,
   cur_token = * index;
 
   if (cur_token + 1 < length) {
-    if ((message[cur_token] == 'U') && (message[cur_token] == 'T')) {
+    if ((message[cur_token] == 'U') && (message[cur_token + 1] == 'T')) {
       * result = TRUE;
       * index = cur_token + 2;
 

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

Summary of changes:
 src/plugins/mailmbox/mailimf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list