]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Initialise some members of the Proxy_Socket structure that were left
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Fri, 11 Oct 2002 12:29:27 +0000 (12:29 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Fri, 11 Oct 2002 12:29:27 +0000 (12:29 +0000)
commit71a97ab286a29626c2c5eeaf512db5556409b6c8
tree2087e0ef8d884707571e0ea4fa0ed9d33baeaa62
parent5aee6cf2af010ba6fd81b7d4c4ea872db3b7cc9b
Initialise some members of the Proxy_Socket structure that were left
uninitialised. This problem only showed up with mingw builds of PuTTY
(maybe MSVCRT is more forgiving with malloc initialisation than CRTDLL?).
The 'error' field was causing me most trouble, and I think the other two
were necessary too before things started working.
Note however that I don't fully understand the code, and that there are
more uninitialised fields in the structure.

[originally from svn r2029]
proxy.c