projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When polling MacTCP connections, check the connection state and if the far
[u/mdw/putty]
/
plink.c
diff --git
a/plink.c
b/plink.c
index
b4f8e84
..
63d30c4
100644
(file)
--- a/
plink.c
+++ b/
plink.c
@@
-62,8
+62,6
@@
void cmdline_error(char *p, ...)
exit(1);
}
exit(1);
}
-static char *password = NULL;
-
HANDLE inhandle, outhandle, errhandle;
DWORD orig_console_mode;
HANDLE inhandle, outhandle, errhandle;
DWORD orig_console_mode;
@@
-169,7
+167,6
@@
void try_output(int is_stderr)
int from_backend(void *frontend_handle, int is_stderr, char *data, int len)
{
int from_backend(void *frontend_handle, int is_stderr, char *data, int len)
{
- HANDLE h = (is_stderr ? errhandle : outhandle);
int osize, esize;
assert(len > 0);
int osize, esize;
assert(len > 0);