projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure our network layer is properly cleaned up before PuTTY exits.
[u/mdw/putty]
/
windlg.c
diff --git
a/windlg.c
b/windlg.c
index
7ee5c97
..
20d7fc2
100644
(file)
--- a/
windlg.c
+++ b/
windlg.c
@@
-3365,7
+3365,7
@@
void verify_ssh_host_key(char *host, int port, char *keytype,
if (mbret == IDYES)
store_host_key(host, port, keytype, keystr);
if (mbret == IDCANCEL)
if (mbret == IDYES)
store_host_key(host, port, keytype, keystr);
if (mbret == IDCANCEL)
- exit(0);
+
cleanup_
exit(0);
}
if (ret == 1) { /* key was absent */
int mbret;
}
if (ret == 1) { /* key was absent */
int mbret;
@@
-3375,7
+3375,7
@@
void verify_ssh_host_key(char *host, int port, char *keytype,
if (mbret == IDYES)
store_host_key(host, port, keytype, keystr);
if (mbret == IDCANCEL)
if (mbret == IDYES)
store_host_key(host, port, keytype, keystr);
if (mbret == IDCANCEL)
- exit(0);
+
cleanup_
exit(0);
}
}
}
}
@@
-3406,7
+3406,7
@@
void askcipher(char *ciphername, int cs)
if (mbret == IDYES)
return;
else
if (mbret == IDYES)
return;
else
- exit(0);
+
cleanup_
exit(0);
}
/*
}
/*