diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-05-11 22:15:44 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-05-11 22:15:44 +0000 |
commit | 95e445a499b4d9d6f132cfeb0a027b5f3acddb8f (patch) | |
tree | 4aaa03a61e484a2edea7dfc1e91c633b24d482a6 /mail/emil/files/patch-rfc822parse.c | |
parent | Prevent collision with getline(3) (diff) |
Prevent collision with getline(3)
Notes
Notes:
svn path=/head/; revision=415042
Diffstat (limited to 'mail/emil/files/patch-rfc822parse.c')
-rw-r--r-- | mail/emil/files/patch-rfc822parse.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/emil/files/patch-rfc822parse.c b/mail/emil/files/patch-rfc822parse.c new file mode 100644 index 000000000000..5d4ac5e6d4a4 --- /dev/null +++ b/mail/emil/files/patch-rfc822parse.c @@ -0,0 +1,11 @@ +--- rfc822parse.c.orig 1996-06-04 13:37:01 UTC ++++ rfc822parse.c +@@ -86,7 +86,7 @@ parse_rfc822_message(struct message *m) + + + /* Loop through rest of the message */ +- while ((linelen = getline(inbuf)) != 0) ++ while ((linelen = get_line(inbuf)) != 0) + { + if (inbuf->bodyend <= inbuf->offset && + inbuf->lineend <= inbuf->loffset) |