aboutsummaryrefslogtreecommitdiff
path: root/src/tool_operate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r--src/tool_operate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c
index 3d8303424..c0b66946c 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -1594,12 +1594,14 @@ int operate(struct Configurable *config, int argc, argv_item_t argv[])
fprintf(config->errors, "Could not parse Metalink file.\n");
}
}
+# ifdef METALINK_HASH_CHECK
else if(metalink && res == CURLE_OK && !metalink_next_res) {
int rv = metalink_check_hash(config, mlfile, outs.filename);
if(rv == 0) {
metalink_next_res = 1;
}
}
+# endif /* METALINK_HASH_CHECK */
#endif /* HAVE_LIBMETALINK */
/* No more business with this output struct */