]> git.pld-linux.org Git - packages/evolution.git/blob - evolution-timezone_offsets.patch
- BR: which, gcc-g77
[packages/evolution.git] / evolution-timezone_offsets.patch
1 2003-10-08  Jeffrey Stedfast  <fejj@ximian.com>
2
3         * camel-mime-utils.c (header_decode_date): Allow timezone offsets
4         to be up to 14 hours ahead of UTC. Fixes bug #49357.
5
6 Index: camel-mime-utils.c
7 ===================================================================
8 RCS file: /cvs/gnome/evolution/camel/camel-mime-utils.c,v
9 retrieving revision 1.183.4.4
10 diff -u -r1.183.4.4 camel-mime-utils.c
11 --- camel/camel-mime-utils.c    26 Sep 2003 16:04:49 -0000      1.183.4.4
12 +++ camel/camel-mime-utils.c    8 Oct 2003 16:42:55 -0000
13 @@ -3530,12 +3530,12 @@
14                 offset = (*inptr++)=='-'?-1:1;
15                 offset = offset * header_decode_int(&inptr);
16                 d(printf("abs signed offset = %d\n", offset));
17 -               if (offset < -1200 || offset > 1200)
18 +               if (offset < -1200 || offset > 1400)
19                         offset = 0;
20         } else if (isdigit(*inptr)) {
21                 offset = header_decode_int(&inptr);
22                 d(printf("abs offset = %d\n", offset));
23 -               if (offset < -1200 || offset > 1200)
24 +               if (offset < -1200 || offset > 1400)
25                         offset = 0;
26         } else {
27                 char *tz = decode_token(&inptr);
This page took 0.024767 seconds and 3 git commands to generate.