mirror of
https://github.com/moparisthebest/curl
synced 2025-01-05 10:58:05 -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 */
|
#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];
|
char errorbuffer[CURL_ERROR_SIZE];
|
||||||
struct ProgressData progressbar;
|
struct ProgressData progressbar;
|
||||||
@ -1839,3 +1839,8 @@ int operate(struct Configurable *config, int argc, argv_item_t argv[])
|
|||||||
|
|
||||||
return res;
|
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