]> git.ipfire.org Git - thirdparty/curl.git/commit
Revert "sendf: make failf() use the mvsnprintf() return code"
authorDaniel Stenberg <daniel@haxx.se>
Thu, 21 May 2020 21:53:19 +0000 (23:53 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 22 May 2020 10:34:51 +0000 (12:34 +0200)
commitf6c6a159f52315b018f883fde177463aaeac4749
tree0714454bc5a5110e445878ec22819663962ab334
parent5d965b48987457eb0db01c2eb65712aec37e49f5
Revert "sendf: make failf() use the mvsnprintf() return code"

This reverts commit 74623551f306990e70c7c5515b88972005604a74.

Instead mark the function call with (void). Getting the return code and
using it instead triggered Coverity warning CID 1463596 because
snprintf() can return a negative value...

Closes #5441
lib/sendf.c