projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nico Golde:
[apps/madmutt.git]
/
parse.c
diff --git
a/parse.c
b/parse.c
index
c5b6aac
..
ea5c9b8
100644
(file)
--- a/
parse.c
+++ b/
parse.c
@@
-38,7
+38,7
@@
* lines. ``line'' must point to a dynamically allocated string; it is
* increased if more space is required to fit the whole line.
*/
* lines. ``line'' must point to a dynamically allocated string; it is
* increased if more space is required to fit the whole line.
*/
-
static char *
read_rfc822_line (FILE * f, char *line, size_t * linelen)
+
char *mutt_
read_rfc822_line (FILE * f, char *line, size_t * linelen)
{
char *buf = line;
char ch;
{
char *buf = line;
char ch;
@@
-425,7
+425,7
@@
BODY *mutt_read_mime_header (FILE * fp, int digest)
p->type = digest ? TYPEMESSAGE : TYPETEXT;
p->disposition = DISPINLINE;
p->type = digest ? TYPEMESSAGE : TYPETEXT;
p->disposition = DISPINLINE;
- while (*(line = read_rfc822_line (fp, line, &linelen)) != 0) {
+ while (*(line =
mutt_
read_rfc822_line (fp, line, &linelen)) != 0) {
/* Find the value of the current header */
if ((c = strchr (line, ':'))) {
*c = 0;
/* Find the value of the current header */
if ((c = strchr (line, ':'))) {
*c = 0;
@@
-1320,7
+1320,7
@@
ENVELOPE *mutt_read_rfc822_header (FILE * f, HEADER * hdr, short user_hdrs,
}
while ((loc = ftell (f)),
}
while ((loc = ftell (f)),
- *(line = read_rfc822_line (f, line, &linelen)) != 0) {
+ *(line =
mutt_
read_rfc822_line (f, line, &linelen)) != 0) {
matched = 0;
if ((p = strpbrk (line, ": \t")) == NULL || *p != ':') {
matched = 0;
if ((p = strpbrk (line, ": \t")) == NULL || *p != ':') {