mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
tool_main: Forgot to initialise the first operation's global pointer
This commit is contained in:
parent
5577540ad5
commit
fd97c17bb7
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user