From 2dc7ad23fde91d6dfde172c8c673428ea0c07028 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 2 Feb 2014 15:20:37 +0000 Subject: tool_operate: Introduced new operate() function --- src/tool_operate.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/tool_operate.c b/src/tool_operate.c index 5cdecd9b3..da76f55f4 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -185,7 +185,7 @@ static curl_off_t VmsSpecialSize(const char * name, #endif /* __VMS */ -int operate(struct Configurable *config, int argc, argv_item_t argv[]) +static int operate_do(struct Configurable *config, int argc, argv_item_t argv[]) { char errorbuffer[CURL_ERROR_SIZE]; struct ProgressData progressbar; @@ -1839,3 +1839,8 @@ int operate(struct Configurable *config, int argc, argv_item_t argv[]) return res; } + +int operate(struct Configurable *config, int argc, argv_item_t argv[]) +{ + return operate_do(config, argc, argv); +} -- cgit v1.2.3