aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-12-05 16:57:40 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-12-05 22:57:24 +0100
commit9ea769e15f60f8bebf42bffd708658296a812d6e (patch)
treeeacae87afc0c960d26ea5d6dd83d28ccf035873d /src
parentbf24e0f9286cf5f24ccfef7f824d1597ffb6ab72 (diff)
etag: allow both --etag-compare and --etag-save in same cmdline
Fixes #4669 Closes #4678
Diffstat (limited to 'src')
-rw-r--r--src/tool_operate.c10
1 files changed, 0 insertions, 10 deletions
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;