diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-02-23 12:59:59 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-02-23 13:09:20 +0000 |
commit | 705a4cb549d7cd798162430512f482ba930226d6 (patch) | |
tree | 19ef6feaee7e0e5ebbc9caeed1ed22d37f82f9eb /src/tool_cfgable.c | |
parent | 6512e93be1d60eb9879676665c032f34e6940c70 (diff) | |
download | curl-705a4cb549d7cd798162430512f482ba930226d6.tar.gz |
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_cfgable.c')
-rw-r--r-- | src/tool_cfgable.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tool_cfgable.c b/src/tool_cfgable.c index 818d7f4d4..e0010a702 100644 --- a/src/tool_cfgable.c +++ b/src/tool_cfgable.c @@ -26,9 +26,9 @@ #include "memdebug.h" /* keep this as LAST include */ -void config_init(struct Configurable* config) +void config_init(struct OperationConfig* config) { - memset(config, 0, sizeof(struct Configurable)); + memset(config, 0, sizeof(struct OperationConfig)); config->errors = stderr; /* default errors to stderr */ config->postfieldsize = -1; @@ -43,7 +43,7 @@ void config_init(struct Configurable* config) config->proto_redir_present = FALSE; } -static void free_config_fields(struct Configurable *config) +static void free_config_fields(struct OperationConfig *config) { struct getout *urlnode; @@ -150,9 +150,9 @@ static void free_config_fields(struct Configurable *config) Curl_safefree(config->libcurl); } -void config_free(struct Configurable *config) +void config_free(struct OperationConfig *config) { - struct Configurable *last = config; + struct OperationConfig *last = config; /* Find the last config structure */ while(last->next) @@ -160,7 +160,7 @@ void config_free(struct Configurable *config) /* Free each of the structures in reverse order */ do { - struct Configurable *prev = last->prev; + struct OperationConfig *prev = last->prev; if(prev) last->easy = NULL; |