aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tool_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_main.c b/src/tool_main.c
index 06c28395f..26ba02193 100644
--- a/src/tool_main.c
+++ b/src/tool_main.c
@@ -149,6 +149,7 @@ static CURLcode main_init(struct GlobalConfig *config)
/* Initialise the config */
config_init(config->first);
config->first->easy = config->easy;
+ config->first->global = config;
}
else {
helpf(stderr, "error initializing curl easy handle\n");