X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fsieve.c;h=fcc00a6eb194631e7ba52277b5ca2f0d71100ceb;hb=306c6c7751cf6953dc544a607b584a9ca58623ad;hp=f4ce58402f5e7f7a32e39bd93dff6b24c7f54316;hpb=9242a7e8cfa94bbc9dd7eca6bd651b569b871c4e;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/sieve.c b/src/src/sieve.c index f4ce58402..fcc00a6eb 100644 --- a/src/src/sieve.c +++ b/src/src/sieve.c @@ -1472,10 +1472,10 @@ Returns: 1 success 0 identifier not matched */ -static int parse_string(struct Sieve *filter, struct String *data) +static int +parse_string(struct Sieve *filter, struct String *data) { gstring * g = NULL; -int dataCapacity=0; data->length = 0; data->character = NULL; @@ -1737,7 +1737,6 @@ if (*filter->pc=='[') /* string list */ if (dataLength+1 >= dataCapacity) /* increase buffer */ { struct String *new; - int newCapacity; /* Don't amalgamate with next line; some compilers grumble */ dataCapacity = dataCapacity ? dataCapacity * 2 : 4; new = store_get(sizeof(struct String) * dataCapacity); @@ -3286,7 +3285,6 @@ while (*filter->pc) if (exec) { address_item *addr; - int start; uschar *buffer; int buffer_capacity; md5 base; @@ -3381,11 +3379,12 @@ while (*filter->pc) { uschar *mime_body,*reason_end; static const uschar nlnl[]="\r\n\r\n"; + gstring * g; for ( - mime_body=reason.character,reason_end=reason.character+reason.length; - mime_body<(reason_end-(sizeof(nlnl)-1)) && memcmp(mime_body,nlnl,(sizeof(nlnl)-1)); + mime_body = reason.character, reason_end = reason.character + reason.length; + mime_body < (reason_end-(sizeof(nlnl)-1)) && memcmp(mime_body, nlnl, (sizeof(nlnl)-1)); ++mime_body ); @@ -3399,7 +3398,6 @@ while (*filter->pc) { struct String qp = { .character = NULL, .length = 0 }; /* Keep compiler happy (PH) */ - start = reason.length; addr->reply->headers = US"MIME-Version: 1.0\n" "Content-Type: text/plain;\n" "\tcharset=\"utf-8\"\n"