Fix compiler warning

This commit is contained in:
Pasi Kallinen
2016-06-20 13:21:22 +03:00
parent 53e8869a16
commit d91d445fc6
+1 -1
View File
@@ -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);
} }