]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
In the wake of r7415, let's have some better error reporting.
authorSimon Tatham <anakin@pobox.com>
Tue, 27 Mar 2007 19:10:10 +0000 (19:10 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 27 Mar 2007 19:10:10 +0000 (19:10 +0000)
commit5f410ef051252d9961065c5441051c2395cc84eb
tree0a6254565b1472905242ad3018acfce1b618149d
parent702a92ceb848394f722292cd4a54c414d4e0be67
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.

[originally from svn r7416]
[r7415 == 702a92ceb848394f722292cd4a54c414d4e0be67]
windows/winhandl.c
windows/winplink.c