]> diplodocus.org Git - nmh/commit
imaptest.c: Don't test possibly uninitialised local variable.
authorRalph Corderoy <ralph@inputplus.co.uk>
Fri, 27 Oct 2017 12:44:26 +0000 (13:44 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Fri, 27 Oct 2017 14:08:34 +0000 (15:08 +0100)
commitda665985decffc0a5c7bed784f225d2972782bcd
treeadd944939d359fabf507bc2d13e4b2774fcd4a92
parent805bd2f9d717c019630293bcd82be25965d9f355
imaptest.c: Don't test possibly uninitialised local variable.

get_imap_response() doesn't necessarily set the content of a non-NULL
`char **status'.  Do this before calling, and check if it's been set to
non-NULL before using upon return.
uip/imaptest.c