pty_init should put _something_ into realhost
authorowen <owen@cda61777-01e9-0310-a592-d414129be87e>
Fri, 12 May 2006 11:02:28 +0000 (11:02 +0000)
committerowen <owen@cda61777-01e9-0310-a592-d414129be87e>
Fri, 12 May 2006 11:02:28 +0000 (11:02 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@6679 cda61777-01e9-0310-a592-d414129be87e

unix/uxpty.c

index b54ed41..637eaa1 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;
 }