aboutsummaryrefslogtreecommitdiff
path: root/src/tool_paramhlp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_paramhlp.c')
-rw-r--r--src/tool_paramhlp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_paramhlp.c b/src/tool_paramhlp.c
index 0bbede996..18da0265e 100644
--- a/src/tool_paramhlp.c
+++ b/src/tool_paramhlp.c
@@ -504,7 +504,7 @@ CURLcode get_args(struct OperationConfig *config, const size_t i)
if(!config->useragent) {
config->useragent = my_useragent();
if(!config->useragent) {
- helpf(config->errors, "out of memory\n");
+ helpf(config->global->errors, "out of memory\n");
result = CURLE_OUT_OF_MEMORY;
}
}