diff --git a/programs/develop/libraries/network/network.asm b/programs/develop/libraries/network/network.asm index e9e8810710..2a78ff61d1 100644 --- a/programs/develop/libraries/network/network.asm +++ b/programs/develop/libraries/network/network.asm @@ -313,6 +313,7 @@ getaddrinfo: ;; test eax, eax jz .timeout ; 3. Got packet. Call processing function. + lea eax, [esp+4] push edi ; second parameter: pointer to result push eax ; first parameter: pointer to reqdata call getaddrinfo_process