X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=telnet.c;h=6f4f54ca0f2d5ad91a7e475b4dbfc6507f663a02;hb=0047bbe70fc4d0df7b5f0057971071c348aff018;hp=2edae2191e4aec0c7aeaa68e0e5df55d47cd47b1;hpb=92db92af5a6b230e876a5f0f34a184612792847d;p=PuTTY.git diff --git a/telnet.c b/telnet.c index 2edae219..6f4f54ca 100644 --- a/telnet.c +++ b/telnet.c @@ -674,7 +674,7 @@ static void telnet_sent(Plug plug, int bufsize) static const char *telnet_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 = { telnet_closing, @@ -729,7 +729,7 @@ static const char *telnet_init(void *frontend_handle, void **backend_handle, sfree(buf); } telnet->s = new_connection(addr, *realhost, port, 0, 1, - nodelay, (Plug) telnet, &telnet->cfg); + nodelay, keepalive, (Plug) telnet, &telnet->cfg); if ((err = sk_socket_error(telnet->s)) != NULL) return err;