* libmisc/mail.c: Avoid implicit conversion of pointers to booleans.
* libmisc/mail.c: Avoid assignments in comparisons.
This commit is contained in:
@ -52,7 +52,8 @@ void mailcheck (void)
|
||||
/*
|
||||
* Check incoming mail in Maildir format - J.
|
||||
*/
|
||||
if ((mailbox = getenv ("MAILDIR"))) {
|
||||
mailbox = getenv ("MAILDIR");
|
||||
if (NULL != mailbox) {
|
||||
char *newmail;
|
||||
|
||||
newmail = xmalloc (strlen (mailbox) + 5);
|
||||
|
Reference in New Issue
Block a user