diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-10-10 00:46:30 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-10-10 00:46:30 +0800 |
commit | 574ed950dad8a517ea0dc0ac9cbc0b364e26606e (patch) | |
tree | 9fd49f2f0dc313d9305dd572fae3703fdea04448 /camel/broken-date-parser.c | |
parent | 015c3706a89faf252efb610555212f3b00506172 (diff) | |
download | gsoc2013-evolution-574ed950dad8a517ea0dc0ac9cbc0b364e26606e.tar.gz gsoc2013-evolution-574ed950dad8a517ea0dc0ac9cbc0b364e26606e.tar.zst gsoc2013-evolution-574ed950dad8a517ea0dc0ac9cbc0b364e26606e.zip |
Allow timezone offsets to be up to 14 hours ahead of UTC. Fixes bug
2003-10-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (header_decode_date): Allow timezone offsets
to be up to 14 hours ahead of UTC. Fixes bug #49357.
* broken-date-parser.c (get_tzone): Same.
svn path=/trunk/; revision=22838
Diffstat (limited to 'camel/broken-date-parser.c')
-rw-r--r-- | camel/broken-date-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/broken-date-parser.c b/camel/broken-date-parser.c index 60e5f1760a..19fc0c2271 100644 --- a/camel/broken-date-parser.c +++ b/camel/broken-date-parser.c @@ -292,7 +292,7 @@ get_tzone (struct _date_token **token) if (*inptr == '+' || *inptr == '-') { t = decode_int (inptr, inlen); - if (t < -1200 || t > 1200) + if (t < -1200 || t > 1400) return -1; return t; |