From 705a4cb549d7cd798162430512f482ba930226d6 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 23 Feb 2014 12:59:59 +0000 Subject: tool_cfgable: Renamed Configurable structure to OperationConfig To allow for the addition of a global config structure and prevent confusion between the two. --- src/tool_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tool_main.c') 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 */ -- cgit v1.2.3