]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
pty_init should put _something_ into realhost
authorOwen Dunn <owen@greenend.org.uk>
Fri, 12 May 2006 11:02:28 +0000 (11:02 +0000)
committerOwen Dunn <owen@greenend.org.uk>
Fri, 12 May 2006 11:02:28 +0000 (11:02 +0000)
[originally from svn r6679]

unix/uxpty.c

index b54ed417efaa2993cf547a14ff83eb47c20e70ea..637eaa1ae6139e3303c4fdc849e34979b392cc5a 100644 (file)
@@ -865,6 +865,8 @@ static const char *pty_init(void *frontend, void **backend_handle, Config *cfg,
 
     *backend_handle = pty;
 
+    *realhost = dupprintf("\0");
+
     return NULL;
 }