commit 2d947971db23076fb67bf2d5ba2da060de93cead
parent 5bfb2198f3e60c1eef29f7ca32adf234495346ba
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Tue, 23 Jun 2015 07:49:42 +0200
Fix a mistake in previous commit.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/procheader.c b/src/procheader.c
@@ -866,7 +866,7 @@ static gint procheader_scan_date_string(const gchar *str,
&& (sep1 == 'T' || sep1 == 't' || sep1 == ' ')) {
if (month_n >= 1 && month_n <= 12) {
strncpy2(month, monthstr+((month_n-1)*3), 4);
- if (offset_sign == 'z' || offset_sign == 'Z') {
+ if (zonestr[0] == 'z' || zonestr[0] == 'Z') {
strcat(zone, "+00:00");
} else if (sscanf(zonestr, "%c%2d:%2d",
&offset_sign, &zone1, &zone2) == 3) {