mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05: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…
x
Reference in New Issue
Block a user