"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/mx/mailcap.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.

mailcap.c  (s-nail-14.9.18.tar.xz):mailcap.c  (s-nail-14.9.19.tar.xz)
skipping to change at line 867 skipping to change at line 867
UNUSED(cmdname); UNUSED(cmdname);
s = n_string_book(n_string_creat_auto(&s_b), 127); s = n_string_book(n_string_creat_auto(&s_b), 127);
s = n_string_resize(s, n_STRLIST_PLAIN_SIZE()); s = n_string_resize(s, n_STRLIST_PLAIN_SIZE());
for(mchp = S(struct a_mailcap_hdl const*,dat); mchp != NIL; for(mchp = S(struct a_mailcap_hdl const*,dat); mchp != NIL;
mchp = mchp->mch_next){ mchp = mchp->mch_next){
uz i, lo, lx; uz i, lo, lx;
char const *buf; char const *buf;
if(S(void*,mchp) != dat) if(S(void const*,mchp) != dat)
s = n_string_push_c(s, '\n'); s = n_string_push_c(s, '\n');
lo = i = su_cs_len(key); lo = i = su_cs_len(key);
s = n_string_push_buf(s, key, i); s = n_string_push_buf(s, key, i);
buf = S(char*,&mchp[1]); buf = S(char const*,&mchp[1]);
for(i = a_MAILCAP_SF_CMD; i < NELEM(sfa); ++i) for(i = a_MAILCAP_SF_CMD; i < NELEM(sfa); ++i)
if(i == a_MAILCAP_SF_CMD || mchp->mch_sfields[i] > 0) if(i == a_MAILCAP_SF_CMD || mchp->mch_sfields[i] > 0)
a_mailcap__dump_kv(i, s, &lo, sfa[i], &buf[mchp->mch_sfields[i]]); a_mailcap__dump_kv(i, s, &lo, sfa[i], &buf[mchp->mch_sfields[i]]);
if(mchp->mch_flags != 0){ if(mchp->mch_flags != 0){
a_MAILCAP_DUMP_SEP_INJ(boole any = FAL0, (void)0); a_MAILCAP_DUMP_SEP_INJ(boole any = FAL0, (void)0);
for(i = 0; i < NELEM(fa); ++i){ for(i = 0; i < NELEM(fa); ++i){
if(mchp->mch_flags & fa[i].a_f){ if(mchp->mch_flags & fa[i].a_f){
uz j; uz j;
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

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