X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=rlogin.c;h=f2b61d27c578f59783f3bade55526338bcc0d94a;hb=20f433efac8908e7024b3ae78fd8f6d3313f4d09;hp=af3bd87633b4aeee1309f72c445bef4bfe2dc5a1;hpb=6bcac21e36c648736f06a86d97eebd41a9a0c271;p=PuTTY.git diff --git a/rlogin.c b/rlogin.c index af3bd876..f2b61d27 100644 --- a/rlogin.c +++ b/rlogin.c @@ -100,7 +100,7 @@ static void rlogin_sent(Plug plug, int bufsize) static const char *rlogin_init(void *frontend_handle, void **backend_handle, Config *cfg, char *host, int port, char **realhost, - int nodelay) + int nodelay, int keepalive) { static const struct plug_function_table fn_table = { rlogin_closing, @@ -149,7 +149,7 @@ static const char *rlogin_init(void *frontend_handle, void **backend_handle, sfree(buf); } rlogin->s = new_connection(addr, *realhost, port, 1, 0, - nodelay, (Plug) rlogin, cfg); + nodelay, keepalive, (Plug) rlogin, cfg); if ((err = sk_socket_error(rlogin->s)) != NULL) return err;