tool_main: Forgot to initialise the first operation's global pointer

This commit is contained in:
Steve Holme 2014-02-27 20:31:10 +00:00
parent 5577540ad5
commit fd97c17bb7

View File

@ -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");