projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Text around -load option "(although Plink still requires an explicitly
[u/mdw/putty]
/
raw.c
diff --git
a/raw.c
b/raw.c
index
4c9e5be
..
8c1f97f
100644
(file)
--- a/
raw.c
+++ b/
raw.c
@@
-69,7
+69,8
@@
static void raw_sent(Plug plug, int bufsize)
*/
static const char *raw_init(void *frontend_handle, void **backend_handle,
Config *cfg,
*/
static const char *raw_init(void *frontend_handle, void **backend_handle,
Config *cfg,
- char *host, int port, char **realhost, int nodelay)
+ char *host, int port, char **realhost, int nodelay,
+ int keepalive)
{
static const struct plug_function_table fn_table = {
raw_closing,
{
static const struct plug_function_table fn_table = {
raw_closing,
@@
-115,7
+116,7
@@
static const char *raw_init(void *frontend_handle, void **backend_handle,
logevent(raw->frontend, buf);
sfree(buf);
}
logevent(raw->frontend, buf);
sfree(buf);
}
- raw->s = new_connection(addr, *realhost, port, 0, 1, nodelay,
+ raw->s = new_connection(addr, *realhost, port, 0, 1, nodelay,
keepalive,
(Plug) raw, cfg);
if ((err = sk_socket_error(raw->s)) != NULL)
return err;
(Plug) raw, cfg);
if ((err = sk_socket_error(raw->s)) != NULL)
return err;