"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/mx/cmd-resend.c" between
s-nail-14.9.18.tar.xz and s-nail-14.9.19.tar.xz

About: S-nail is a mail processing system intended to provide the functionality of the POSIX mailx command and offers extensions for line editing, IDNA, MIME, S/MIME, SMTP and POP3 (and IMAP). It is usable as a mail batch language.

cmd-resend.c  (s-nail-14.9.18.tar.xz):cmd-resend.c  (s-nail-14.9.19.tar.xz)
skipping to change at line 448 skipping to change at line 448
/* Limit number of references TODO better on parser side */ /* Limit number of references TODO better on parser side */
while (n->n_flink != NULL) while (n->n_flink != NULL)
n = n->n_flink; n = n->n_flink;
for (i = 1; i <= REFERENCES_MAX; ++i) { for (i = 1; i <= REFERENCES_MAX; ++i) {
if (n->n_blink != NULL) if (n->n_blink != NULL)
n = n->n_blink; n = n->n_blink;
else else
break; break;
} }
n->n_blink = NULL; n->n_blink = NIL;
head->h_ref = n; head->h_ref = n;
if (ok_blook(reply_in_same_charset) &&
(ccp = hfield1("content-type", mp)) != NULL){ if(ok_blook(reply_in_same_charset) &&
if((head->h_charset = ccp = mime_param_get("charset", ccp)) != NULL){ (ccp = hfield1("content-type", mp)) != NIL &&
ccp = mx_charsetalias_expand(ccp, FAL0); (ccp = mime_param_get("charset", ccp)) != NIL)
head->h_charset = ccp; head->h_charset = mx_charsetalias_expand(ccp, FAL0);
}
}
jleave: jleave:
NYD2_OU; NYD2_OU;
} }
static int static int
a_crese_list_reply(int *msgvec, enum header_flags hf){ a_crese_list_reply(int *msgvec, enum header_flags hf){
struct header head; struct header head;
struct message *mp; struct message *mp;
char const *cp, *cp2; char const *cp, *cp2;
struct mx_name *rt, *the_rt, *mft, *np; struct mx_name *rt, *the_rt, *mft, *np;
 End of changes. 2 change blocks. 
8 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)