~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Each platform's implementation of askappend() is no longer required
[sgt/putty]
/
console.c
diff --git
a/console.c
b/console.c
index
703e683
..
c9284b1
100644
(file)
--- a/
console.c
+++ b/
console.c
@@
-26,12
+26,10
@@
void cleanup_exit(int code)
sk_cleanup();
WSACleanup();
sk_cleanup();
WSACleanup();
- if (cfg.protocol == PROT_SSH) {
- random_save_seed();
+ random_save_seed();
#ifdef MSCRYPTOAPI
#ifdef MSCRYPTOAPI
-
crypto_wrapup();
+ crypto_wrapup();
#endif
#endif
- }
exit(code);
}
exit(code);
}
@@
-212,9
+210,6
@@
int askappend(void *frontend, char *filename)
char line[32];
char line[32];
- if (cfg.logxfovr != LGXF_ASK) {
- return ((cfg.logxfovr == LGXF_OVR) ? 2 : 1);
- }
if (console_batch_mode) {
fprintf(stderr, msgtemplate_batch, FILENAME_MAX, filename);
fflush(stderr);
if (console_batch_mode) {
fprintf(stderr, msgtemplate_batch, FILENAME_MAX, filename);
fflush(stderr);