]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/pty.c
Bah. Stop the Proxy panel appearing empty in Change Settings. One
[PuTTY.git] / unix / pty.c
index 5d8569304d96cd3b2c776a3b1bd9f1626fc7701e..55282d2f8002d5108ab19bec7a3ddfbb029d6310 100644 (file)
@@ -485,8 +485,8 @@ static void pty_uxsel_setup(void)
  * Also places the canonical host name into `realhost'. It must be
  * freed by the caller.
  */
-static char *pty_init(void *frontend, void **backend_handle, Config *cfg,
-                     char *host, int port, char **realhost, int nodelay)
+static const char *pty_init(void *frontend, void **backend_handle, Config *cfg,
+                           char *host, int port, char **realhost, int nodelay)
 {
     int slavefd;
     pid_t pid, pgrp;