]> diplodocus.org Git - nmh/commit
Replace getcpy(f()) calls with mh_xstrdup() when f() can't be NULL.
authorRalph Corderoy <ralph@inputplus.co.uk>
Tue, 26 Sep 2017 13:32:08 +0000 (14:32 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Fri, 27 Oct 2017 15:38:22 +0000 (16:38 +0100)
commitaf9b66336bdbd198f3b1e7bca82e3d1278f27664
tree2cdb86dc825c3b43200e6888ea5c18750eaabe2b
parenta7c1ec95e26ca515d95bfda1e260e3827ba25a1e
Replace getcpy(f()) calls with mh_xstrdup() when f() can't be NULL.

And comment a few functions as never returning NULL along the way.
24 files changed:
config/config.c
sbr/arglist.c
sbr/context_read.c
sbr/getfolder.c
sbr/m_draft.c
sbr/m_maildir.c
sbr/r1bindex.c
uip/anno.c
uip/folder.c
uip/forw.c
uip/inc.c
uip/install-mh.c
uip/mhbuild.c
uip/mhlist.c
uip/mhn.c
uip/mhshow.c
uip/mhshowsbr.c
uip/mhstore.c
uip/refile.c
uip/repl.c
uip/send.c
uip/show.c
uip/whatnowsbr.c
uip/whom.c