projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revamp of EOF handling in all network connections, pipes and other
[u/mdw/putty]
/
windows
/
winplink.c
diff --git
a/windows/winplink.c
b/windows/winplink.c
index
3fe03af
..
5806335
100644
(file)
--- a/
windows/winplink.c
+++ b/
windows/winplink.c
@@
-130,6
+130,12
@@
int from_backend_untrusted(void *frontend_handle, const char *data, int len)
return 0; /* not reached */
}
return 0; /* not reached */
}
+int from_backend_eof(void *frontend_handle)
+{
+ handle_write_eof(stdout_handle);
+ return FALSE; /* do not respond to incoming EOF with outgoing */
+}
+
int get_userpass_input(prompts_t *p, unsigned char *in, int inlen)
{
int ret;
int get_userpass_input(prompts_t *p, unsigned char *in, int inlen)
{
int ret;