projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unix PSCP was tight-looping when connecting through a ProxyCommand.
[u/mdw/putty]
/
windows
/
wincons.c
diff --git
a/windows/wincons.c
b/windows/wincons.c
index
03bb472
..
347f99f
100644
(file)
--- a/
windows/wincons.c
+++ b/
windows/wincons.c
@@
-33,6
+33,14
@@
void cleanup_exit(int code)
exit(code);
}
exit(code);
}
+void notify_remote_exit(void *frontend)
+{
+}
+
+void timer_change_notify(long next)
+{
+}
+
void verify_ssh_host_key(void *frontend, char *host, int port, char *keytype,
char *keystr, char *fingerprint)
{
void verify_ssh_host_key(void *frontend, char *host, int port, char *keytype,
char *keystr, char *fingerprint)
{
@@
-282,6
+290,7
@@
int console_get_line(const char *prompt, char *str,
if (console_batch_mode) {
if (maxlen > 0)
str[0] = '\0';
if (console_batch_mode) {
if (maxlen > 0)
str[0] = '\0';
+ return 0;
} else {
hin = GetStdHandle(STD_INPUT_HANDLE);
hout = GetStdHandle(STD_OUTPUT_HANDLE);
} else {
hin = GetStdHandle(STD_INPUT_HANDLE);
hout = GetStdHandle(STD_OUTPUT_HANDLE);
@@
-312,8
+321,8
@@
int console_get_line(const char *prompt, char *str,
if (is_pw)
WriteFile(hout, "\r\n", 2, &i, NULL);
if (is_pw)
WriteFile(hout, "\r\n", 2, &i, NULL);
+ return 1;
}
}
- return 1;
}
void frontend_keypress(void *handle)
}
void frontend_keypress(void *handle)