aboutsummaryrefslogtreecommitdiff
path: root/src/tool_main.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-02-23 12:59:59 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-02-23 13:09:20 +0000
commit705a4cb549d7cd798162430512f482ba930226d6 (patch)
tree19ef6feaee7e0e5ebbc9caeed1ed22d37f82f9eb /src/tool_main.c
parent6512e93be1d60eb9879676665c032f34e6940c70 (diff)
tool_cfgable: Renamed Configurable structure to OperationConfig
To allow for the addition of a global config structure and prevent confusion between the two.
Diffstat (limited to 'src/tool_main.c')
-rw-r--r--src/tool_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tool_main.c b/src/tool_main.c
index dabd5c95c..9542b059a 100644
--- a/src/tool_main.c
+++ b/src/tool_main.c
@@ -121,7 +121,7 @@ static void memory_tracking_init(void)
* _any_ libcurl usage. If this fails, *NO* libcurl functions may be
* used, or havoc may be the result.
*/
-static CURLcode main_init(struct Configurable *config)
+static CURLcode main_init(struct OperationConfig *config)
{
CURLcode result = CURLE_OK;
@@ -162,7 +162,7 @@ static void main_free(void)
int main(int argc, char *argv[])
{
CURLcode result = CURLE_OK;
- struct Configurable *config;
+ struct OperationConfig *config;
main_checkfds();
@@ -174,7 +174,7 @@ int main(int argc, char *argv[])
memory_tracking_init();
/* Allocate the initial config */
- config = malloc(sizeof(struct Configurable));
+ config = malloc(sizeof(struct OperationConfig));
if(config) {
/* Initialise the config */