X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fregex.c;h=de8ec685fc15a1114ae5de001a9f1c43b10a03c4;hb=e0eb00cd78f2dbf91aba5dffa579177b1e1815a1;hp=7383f3c465d31bfd5ea8c7605b64fe59636bd435;hpb=f1e894f37fb99398f7447220925a915bd031491a;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/regex.c b/src/src/regex.c index 7383f3c46..de8ec685f 100644 --- a/src/src/regex.c +++ b/src/src/regex.c @@ -1,5 +1,3 @@ -/* $Cambridge: exim/src/src/regex.c,v 1.6 2005/06/27 14:29:43 ph10 Exp $ */ - /************************************************* * Exim - an Internet mail transport agent * *************************************************/ @@ -47,7 +45,7 @@ int regex(uschar **listptr) { if (mime_stream == NULL) { /* We are in the DATA ACL */ - mbox_file = spool_mbox(&mbox_size); + mbox_file = spool_mbox(&mbox_size, NULL); if (mbox_file == NULL) { /* error while spooling */ log_write(0, LOG_MAIN|LOG_PANIC, @@ -210,7 +208,7 @@ int mime_regex(uschar **listptr) { /* open file */ - f = fopen(CS mime_decoded_filename, "r"); + f = fopen(CS mime_decoded_filename, "rb"); if (f == NULL) { /* open failed */ log_write(0, LOG_MAIN,