Skip to content

Commit 2dc7ad2

Browse files
tool_operate: Introduced new operate() function
1 parent e5524b7 commit 2dc7ad2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/tool_operate.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ static curl_off_t VmsSpecialSize(const char * name,
185185
#endif /* __VMS */
186186

187187

188-
int operate(struct Configurable *config, int argc, argv_item_t argv[])
188+
static int operate_do(struct Configurable *config, int argc, argv_item_t argv[])
189189
{
190190
char errorbuffer[CURL_ERROR_SIZE];
191191
struct ProgressData progressbar;
@@ -1839,3 +1839,8 @@ int operate(struct Configurable *config, int argc, argv_item_t argv[])
18391839

18401840
return res;
18411841
}
1842+
1843+
int operate(struct Configurable *config, int argc, argv_item_t argv[])
1844+
{
1845+
return operate_do(config, argc, argv);
1846+
}

0 commit comments

Comments
 (0)