~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Miscellaneous fixes for better interoperation with commercial SSH 2
[sgt/putty]
/
window.c
diff --git
a/window.c
b/window.c
index
822cb01
..
bb43636
100644
(file)
--- a/
window.c
+++ b/
window.c
@@
-126,6
+126,10
@@
int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show) {
InitCommonControls();
InitCommonControls();
+ /* Ensure a Maximize setting in Explorer doesn't maximise the
+ * config box. */
+ defuse_showwindow();
+
/*
* Process the command line.
*/
/*
* Process the command line.
*/
@@
-650,6
+654,9
@@
static void enact_pending_netevent(void) {
case WSAECONNRESET:
sprintf(buf, "Connection reset by peer");
break;
case WSAECONNRESET:
sprintf(buf, "Connection reset by peer");
break;
+ case WSAECONNABORTED:
+ sprintf(buf, "Connection aborted");
+ break;
default:
sprintf(buf, "Unexpected network error %d", -i);
break;
default:
sprintf(buf, "Unexpected network error %d", -i);
break;