aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tool_cb_wrt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tool_cb_wrt.c b/src/tool_cb_wrt.c
index c818abf51..ea52469b0 100644
--- a/src/tool_cb_wrt.c
+++ b/src/tool_cb_wrt.c
@@ -88,9 +88,6 @@ size_t tool_write_cb(char *buffer, size_t sz, size_t nmemb, void *userdata)
*/
const size_t failure = bytes ? 0 : 1;
- if(!config)
- return failure;
-
#ifdef DEBUGBUILD
{
char *tty = curlx_getenv("CURL_ISATTY");