aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-02-02 15:20:37 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-02-04 20:07:35 +0000
commit2dc7ad23fde91d6dfde172c8c673428ea0c07028 (patch)
tree8692a04fc0783eb9f130a27f7551ab4fd7ec2320 /src
parente5524b7b259fa6748c0ac9db92da654fd68571a4 (diff)
tool_operate: Introduced new operate() function
Diffstat (limited to 'src')
-rw-r--r--src/tool_operate.c7
1 files changed, 6 insertions, 1 deletions
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);
+}