]> git.ipfire.org Git - thirdparty/curl.git/commit
ftp: fix Codacy/cppcheck warning about null pointer arithmetic
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Sat, 6 Feb 2021 09:26:38 +0000 (10:26 +0100)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Wed, 10 Feb 2021 15:46:52 +0000 (16:46 +0100)
commita3f93a62a2f53ea0f8b88cedefdaa4ee1bc4baea
tree0afe93bba97aafc06d1f55b0c31e134582a4cc6d
parentec5d9b44a2e837fc7b82d1c60d5fae3f851620dc
ftp: fix Codacy/cppcheck warning about null pointer arithmetic

Increment `bytes` only if it is non-null.

Closes https://github.com/curl/curl/pull/6576
lib/ftp.c