]> granicus.if.org Git - curl/commit
ftp: the conditional expression is always true
authorDaniel Stenberg <daniel@haxx.se>
Thu, 19 Sep 2019 07:19:44 +0000 (09:19 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 20 Sep 2019 06:07:06 +0000 (08:07 +0200)
commite3c41ebd7c6f31f0a30362cfda735cdebb400ced
tree2b1c2997566a57a02cef420fb3cbb12657ae3850
parent49f3117a238b6eac0e22a32f50699a9eddcb66ab
ftp: the conditional expression is always true

... both !result and (ftp->transfer != FTPTRANSFER_BODY)!

Fixes warning detected by PVS-Studio
Fixes #4374
lib/ftp.c