aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-02-27 20:31:10 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-02-27 20:49:28 +0000
commitfd97c17bb76aa3031026d6714e2f2409e9a1c3aa (patch)
tree79e240553373d8346f62ed1cd53cf63b44a52614
parent5577540ad5d5dc4737c5d4714d15c6b5fcfb8a74 (diff)
tool_main: Forgot to initialise the first operation's global pointer
-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");