Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
int rv;
pgperr = m_tempfile(pgperrfile, sizeof(pgperrfile), NONULL(Tempdir), NULL);
- if (pgperr == NULL) {
+ if (!pgperr) {
mutt_perror (pgperrfile);
return NULL;
}
unlink (pgperrfile);
pgptmp = m_tempfile(pgptmpfile, sizeof(pgptmpfile), NONULL(Tempdir), NULL);
- if (!pgptmp == NULL) {
+ if (!pgptmp) {
mutt_perror (pgptmpfile);
m_fclose(&pgperr);
return NULL;