diff --git a/source/shared_lib/sources/feathery_ftp/ftpLib.c b/source/shared_lib/sources/feathery_ftp/ftpLib.c index 38c4a1cb..47d66d5c 100644 --- a/source/shared_lib/sources/feathery_ftp/ftpLib.c +++ b/source/shared_lib/sources/feathery_ftp/ftpLib.c @@ -166,6 +166,6 @@ char *ftpStrcpy(char *dest, const char *src) char *d = dest; const char *s = src; - while (*d++ = *s++); + while ((*d++ = *s++)); return dest; }