"Fossies" - the Fresh Open Source Software Archive  

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

cred-netrc.c  (s-nail-14.9.18.tar.xz):cred-netrc.c  (s-nail-14.9.19.tar.xz)
skipping to change at line 418 skipping to change at line 418
struct n_strlist *slp; struct n_strlist *slp;
struct a_netrc_entry const *nrcep; struct a_netrc_entry const *nrcep;
NYD2_IN; NYD2_IN;
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(nrcep = S(struct a_netrc_entry const*,dat); nrcep != NIL; for(nrcep = S(struct a_netrc_entry const*,dat); nrcep != NIL;
nrcep = nrcep->nrce_next){ nrcep = nrcep->nrce_next){
if(S(void*,nrcep) != dat) if(S(void const*,nrcep) != dat)
s = n_string_push_c(s, '\n'); s = n_string_push_c(s, '\n');
s = n_string_push_buf(s, "machine ", sizeof("machine ") -1); s = n_string_push_buf(s, "machine ", sizeof("machine ") -1);
s = n_string_push_cp(s, a_netrc_bsd_quote(key)); s = n_string_push_cp(s, a_netrc_bsd_quote(key));
if(nrcep->nrce_has_login){ if(nrcep->nrce_has_login){
s = n_string_push_buf(s, " login ", sizeof(" login ") -1); s = n_string_push_buf(s, " login ", sizeof(" login ") -1);
s = n_string_push_cp(s, a_netrc_bsd_quote(&nrcep->nrce_dat[0])); s = n_string_push_cp(s, a_netrc_bsd_quote(&nrcep->nrce_dat[0]));
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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