* libmisc/mail.c: Avoid implicit conversion of pointers to booleans.
* libmisc/mail.c: Avoid assignments in comparisons.
This commit is contained in:
parent
3169455653
commit
c249832df1
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
2008-05-26 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* libmisc/loginprompt.c: Avoid implicit conversion of pointers /
|
* libmisc/loginprompt.c: Avoid implicit conversion of pointers /
|
||||||
|
@ -52,7 +52,8 @@ void mailcheck (void)
|
|||||||
/*
|
/*
|
||||||
* Check incoming mail in Maildir format - J.
|
* Check incoming mail in Maildir format - J.
|
||||||
*/
|
*/
|
||||||
if ((mailbox = getenv ("MAILDIR"))) {
|
mailbox = getenv ("MAILDIR");
|
||||||
|
if (NULL != mailbox) {
|
||||||
char *newmail;
|
char *newmail;
|
||||||
|
|
||||||
newmail = xmalloc (strlen (mailbox) + 5);
|
newmail = xmalloc (strlen (mailbox) + 5);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user