diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-03-01 13:00:31 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-03-01 13:03:20 +0000 |
commit | 5513bbd5c38e5128dd943c28417da29f2c6f9101 (patch) | |
tree | a1413ff88a25620d170e84c7c000237bfc0fdb80 /src/tool_formparse.c | |
parent | 1f077181234525832e0fcae38f7ff4f344f4b010 (diff) | |
download | curl-5513bbd5c38e5128dd943c28417da29f2c6f9101.tar.gz |
tool: Moved --stderr to the global config
Diffstat (limited to 'src/tool_formparse.c')
-rw-r--r-- | src/tool_formparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_formparse.c b/src/tool_formparse.c index 5198822fd..d8fc8fd6c 100644 --- a/src/tool_formparse.c +++ b/src/tool_formparse.c @@ -163,7 +163,7 @@ int formparse(struct OperationConfig *config, /* Allocate the contents */ contents = strdup(contp+1); if(!contents) { - fprintf(config->errors, "out of memory\n"); + fprintf(config->global->errors, "out of memory\n"); return 1; } contp = contents; @@ -277,7 +277,7 @@ int formparse(struct OperationConfig *config, } forms = malloc((count+1)*sizeof(struct curl_forms)); if(!forms) { - fprintf(config->errors, "Error building form post!\n"); + fprintf(config->global->errors, "Error building form post!\n"); Curl_safefree(contents); FreeMultiInfo(&multi_start, &multi_current); return 4; |