]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/pty.c
Add a configuration option for TCP keepalives (SO_KEEPALIVE), default off.
[PuTTY.git] / unix / pty.c
index 7f46f1aa4da06916893386dbbb5e27e6d1320c40..20ddc801e98a6b97ada39b8827f07f42713cce1e 100644 (file)
@@ -486,7 +486,8 @@ static void pty_uxsel_setup(void)
  * freed by the caller.
  */
 static const char *pty_init(void *frontend, void **backend_handle, Config *cfg,
-                           char *host, int port, char **realhost, int nodelay)
+                           char *host, int port, char **realhost, int nodelay,
+                           int keepalive)
 {
     int slavefd;
     pid_t pid, pgrp;