Compiler warning fix

This commit is contained in:
Yang Tse
2006-09-12 23:51:01 +00:00
parent eee09e79e8
commit 733a184ce0
7 changed files with 26 additions and 20 deletions

View File

@@ -173,7 +173,7 @@ static void freedirs(struct connectdata *conn)
*/
static bool isBadFtpString(const char *string)
{
return strchr(string, '\r') != NULL || strchr(string, '\n') != NULL;
return (bool)((NULL != strchr(string, '\r')) || (NULL != strchr(string, '\n')));
}
/***********************************************************************