In the wake of r7415, let's have some better error reporting.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 27 Mar 2007 19:10:10 +0000 (19:10 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 27 Mar 2007 19:10:10 +0000 (19:10 +0000)
commit21ae394fa51be066449b33860ec7c1fe43c9c784
tree0a6254565b1472905242ad3018acfce1b618149d
parent425f5af23fa1fb9a2711d4c615c47221e8078de4
In the wake of r7415, let's have some better error reporting.
Instead of passing -1 to its gotdata and sentdata callbacks on
error, winhandl.c will now pass the negation of the Windows error
number; and the Plink front end will now format that into an error
message and pass it on to the user.

git-svn-id: svn://svn.tartarus.org/sgt/putty@7416 cda61777-01e9-0310-a592-d414129be87e
windows/winhandl.c
windows/winplink.c