Initialise some members of the Proxy_Socket structure that were left
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 11 Oct 2002 12:29:27 +0000 (12:29 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 11 Oct 2002 12:29:27 +0000 (12:29 +0000)
commit65c78e88edd541366726a65911825cf88083a4d9
tree2087e0ef8d884707571e0ea4fa0ed9d33baeaa62
parent83616aab6bc220846b1f70b4b5b13b3c395a2ef9
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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2029 cda61777-01e9-0310-a592-d414129be87e
proxy.c