Fix compiler warning
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ void
|
|||||||
getmailstatus()
|
getmailstatus()
|
||||||
{
|
{
|
||||||
char *emailbox;
|
char *emailbox;
|
||||||
if (emailbox = nh_getenv("MAIL")) {
|
if ((emailbox = nh_getenv("MAIL")) != 0) {
|
||||||
mailbox = (char *) alloc((unsigned) strlen(emailbox));
|
mailbox = (char *) alloc((unsigned) strlen(emailbox));
|
||||||
Strcpy(mailbox, emailbox);
|
Strcpy(mailbox, emailbox);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user