* libmisc/mail.c: Avoid assignments in comparisons.
+2008-05-26 Nicolas François <nicolas.francois@centraliens.net>
+
+ * libmisc/mail.c: Avoid implicit conversion of pointers to
+ booleans.
+ * libmisc/mail.c: Avoid assignments in comparisons.
+
2008-05-26 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/loginprompt.c: Avoid implicit conversion of pointers /
/*
* Check incoming mail in Maildir format - J.
*/
- if ((mailbox = getenv ("MAILDIR"))) {
+ mailbox = getenv ("MAILDIR");
+ if (NULL != mailbox) {
char *newmail;
newmail = xmalloc (strlen (mailbox) + 5);