mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
tool_operate: Introduced new operate() function
This commit is contained in:
parent
e5524b7b25
commit
2dc7ad23fd
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user