diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-04-04 08:35:39 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-04-04 08:35:39 +0000 |
commit | 6b31b1506cb3c0f48bd0bfd88b96cf04b0e95d91 (patch) | |
tree | 1fe399865b55b1493dda58b4919ab854e27b3c1a | |
parent | fd573092dbf4c3253e22776f4cf13ab2c74a657a (diff) |
Two compiler warnings in sieve.c.
-rw-r--r-- | doc/doc-txt/ChangeLog | 8 | ||||
-rw-r--r-- | src/src/sieve.c | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index 4509b13e8..ddc8b47ab 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -1,4 +1,4 @@ -$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.335 2006/03/20 10:55:21 ph10 Exp $ +$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.336 2006/04/04 08:35:39 ph10 Exp $ Change log file for Exim from version 4.21 ------------------------------------------- @@ -334,6 +334,12 @@ PH/68 The bounce_return_message and bounce_return_body options were not being include only those that have been read before the error was detected. (In the case of an ACL rejection, they have all been read.) +PH/69 The HTML version of the specification is now built in a directory called + spec_html instead of spec.html, because the latter looks like a path with + a MIME-type, and this confuses some software. + +PH/70 Catch two compiler warnings in sieve.c. + Exim version 4.60 ----------------- diff --git a/src/src/sieve.c b/src/src/sieve.c index 3b0199d49..5ad1bbebd 100644 --- a/src/src/sieve.c +++ b/src/src/sieve.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/sieve.c,v 1.19 2006/03/08 11:13:07 ph10 Exp $ */ +/* $Cambridge: exim/src/src/sieve.c,v 1.20 2006/04/04 08:35:39 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -400,7 +400,7 @@ if (*uri=='?') return -1; } } - if (hname.length==2 && strcmp(hname.character,"to")==0) + if (hname.length==2 && strcmp(CS hname.character,"to")==0) { new=store_get(sizeof(string_item)); new->text=store_get(hvalue.length+1); @@ -409,7 +409,7 @@ if (*uri=='?') new->next=*recipient; *recipient=new; } - else if (hname.length==4 && strcmp(hname.character,"body")==0) + else if (hname.length==4 && strcmp(CS hname.character,"body")==0) *body=hvalue; if (*uri=='&') ++uri; else break; |