projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1748226
)
Fix a small (copy&paste ?) typo in time zone parsing.
author
Andrej Kacian
<ticho@claws-mail.org>
Tue, 21 Jul 2015 12:33:48 +0000
(14:33 +0200)
committer
Andrej Kacian
<ticho@claws-mail.org>
Tue, 21 Jul 2015 12:33:48 +0000
(14:33 +0200)
src/common/utils.c
patch
|
blob
|
history
diff --git
a/src/common/utils.c
b/src/common/utils.c
index 0ad18cf86e932e7689a0577f9e0844d2a557c9ff..af1bb20e30da830da41cb8eb8a75abcb13cfd16f 100644
(file)
--- 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) {