1593 |
numread += n; |
numread += n; |
1594 |
if ((*buf)[numread - 1] != '\n') |
if ((*buf)[numread - 1] != '\n') |
1595 |
{ |
{ |
1596 |
if (numread == *bufsize) |
if (numread + 1 == *bufsize) |
1597 |
{ |
{ |
1598 |
*bufsize += 128; |
*bufsize += 128; |
1599 |
*buf = xrealloc (*buf, *bufsize); |
*buf = xrealloc (*buf, *bufsize); |
1660 |
char *rest = *prest; |
char *rest = *prest; |
1661 |
char *sp; |
char *sp; |
1662 |
char *comment = NULL; |
char *comment = NULL; |
1663 |
|
|
1664 |
while (stop == 0 && status == 0 && *rest) |
while (stop == 0 && status == 0 && *rest) |
1665 |
{ |
{ |
1666 |
|
skipws (rest); |
1667 |
switch (*rest++) |
switch (*rest++) |
1668 |
{ |
{ |
1669 |
case '(': |
case '(': |
1743 |
stop = 1; |
stop = 1; |
1744 |
break; |
break; |
1745 |
} |
} |
|
skipws (rest); |
|
1746 |
} |
} |
1747 |
|
|
1748 |
if (comment) |
if (comment) |
1849 |
body_t body; |
body_t body; |
1850 |
stream_t in, out = NULL; |
stream_t in, out = NULL; |
1851 |
struct obstack stk; |
struct obstack stk; |
1852 |
|
|
1853 |
if (!*msg) |
if (!*msg) |
1854 |
message_create (msg, NULL); |
message_create (msg, NULL); |
1855 |
|
|
1883 |
id = mh_create_message_id (env->subpart); |
id = mh_create_message_id (env->subpart); |
1884 |
header_set_value (hdr2, MU_HEADER_CONTENT_ID, id, 1); |
header_set_value (hdr2, MU_HEADER_CONTENT_ID, id, 1); |
1885 |
free (id); |
free (id); |
1886 |
|
|
1887 |
header_get_stream (hdr2, &in); |
header_get_stream (hdr2, &in); |
1888 |
stream_seek (in, 0, SEEK_SET); |
stream_seek (in, 0, SEEK_SET); |
1889 |
cat_message (out, in); |
cat_message (out, in); |