mirror of
https://github.com/curl/curl.git
synced 2026-06-02 02:44:35 +03:00
tool_main: Forgot to initialise the first operation's global pointer
This commit is contained in:
parent
5577540ad5
commit
fd97c17bb7
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue