From 9ea769e15f60f8bebf42bffd708658296a812d6e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 5 Dec 2019 16:57:40 +0100 Subject: etag: allow both --etag-compare and --etag-save in same cmdline Fixes #4669 Closes #4678 --- src/tool_operate.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src') diff --git a/src/tool_operate.c b/src/tool_operate.c index ab3a7f1a0..e78cc4fd2 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -889,16 +889,6 @@ static CURLcode single_transfer(struct GlobalConfig *global, } } - /* disallowing simultaneous use of --etag-save and --etag-compare */ - if(config->etag_save_file && config->etag_compare_file) { - warnf( - config->global, - "Cannot use --etag-save and --etag-compare at the same time\n"); - - result = CURLE_UNKNOWN_OPTION; - break; - } - /* --etag-save */ etag_save = &per->etag_save; etag_save->stream = stdout; -- cgit v1.2.3