diff options
Diffstat (limited to 'src/tool_cb_hdr.c')
-rw-r--r-- | src/tool_cb_hdr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tool_cb_hdr.c b/src/tool_cb_hdr.c index b80707fde..5741f0aba 100644 --- a/src/tool_cb_hdr.c +++ b/src/tool_cb_hdr.c @@ -119,8 +119,8 @@ size_t tool_header_cb(char *ptr, size_t size, size_t nmemb, void *userdata) if(!first) { warnf(per->config->global, - "\nReceived header etag is missing double quote/s\n"); - return 1; + "Received header etag is missing double quote/s\n"); + return failure; } else { /* discard first double quote */ @@ -132,8 +132,8 @@ size_t tool_header_cb(char *ptr, size_t size, size_t nmemb, void *userdata) if(!last) { warnf(per->config->global, - "\nReceived header etag is missing double quote/s\n"); - return 1; + "Received header etag is missing double quote/s\n"); + return failure; } /* get length of desired etag */ |