diff options
Diffstat (limited to 'devel/mime/files/patch-message.c')
-rw-r--r-- | devel/mime/files/patch-message.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/devel/mime/files/patch-message.c b/devel/mime/files/patch-message.c deleted file mode 100644 index 301ac69b6e63..000000000000 --- a/devel/mime/files/patch-message.c +++ /dev/null @@ -1,33 +0,0 @@ ---- ./message.c.orig 2003-09-16 01:37:19.000000000 +0200 -+++ ./message.c 2014-02-18 11:11:32.983337749 +0100 -@@ -89,7 +89,7 @@ - * XXX - need to be fixed to support "\r\n" - */ - bdcm = bd_makenorm(bd, crlfpair); -- bdlc = memmem(pos, len - (pos - msg), bdcm, strlen(bdcm)); -+ bdlc = memmemory(pos, len - (pos - msg), bdcm, strlen(bdcm)); - free(bdcm); - - if (bdlc != pos) { -@@ -144,10 +144,10 @@ - len -= strlen(strstr(bdnorm, "--")); - - for (;;) { -- ret = realloc(ret, sizeof *ret * *cnt + 1); -+ ret = realloc(ret, sizeof(*ret) * (*cnt + 1)); - -- if ((next = memmem(msg, len, bdnorm, bdnormlen)) == NULL) -- next = memmem(msg, len, bdtail, bdtaillen); -+ if ((next = memmemory(msg, len, bdnorm, bdnormlen)) == NULL) -+ next = memmemory(msg, len, bdtail, bdtaillen); - - ret[(*cnt)++] = mime_readmessage(msg, next - msg, crlfpair); - -@@ -272,6 +272,7 @@ - eqcnt++; - break; - default: -+ break; - } - } - |