mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:43:32 +03:00
tool_operate: Moved required argument getting into separate function
This commit is contained in:
parent
89070d0e68
commit
f80ca7a05a
5 changed files with 46 additions and 34 deletions
|
|
@ -30,19 +30,10 @@
|
|||
#include "tool_cfgable.h"
|
||||
#include "tool_convert.h"
|
||||
#include "tool_operhlp.h"
|
||||
#include "tool_version.h"
|
||||
#include "tool_metalink.h"
|
||||
|
||||
#include "memdebug.h" /* keep this as LAST include */
|
||||
|
||||
/*
|
||||
* my_useragent: returns allocated string with default user agent
|
||||
*/
|
||||
char *my_useragent(void)
|
||||
{
|
||||
return strdup( CURL_NAME "/" CURL_VERSION );
|
||||
}
|
||||
|
||||
/*
|
||||
* Print list of OpenSSL supported engines
|
||||
*/
|
||||
|
|
@ -192,4 +183,3 @@ CURLcode get_url_file_name(char **filename, const char *url)
|
|||
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue