aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 439fa8bf5..f50918694 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -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')));
}
/***********************************************************************