From 5617c1e63207939cd1a3c5d44e84985be86f19dc Mon Sep 17 00:00:00 2001 From: owen Date: Fri, 12 May 2006 11:02:28 +0000 Subject: [PATCH] pty_init should put _something_ into realhost git-svn-id: svn://svn.tartarus.org/sgt/putty@6679 cda61777-01e9-0310-a592-d414129be87e --- unix/uxpty.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unix/uxpty.c b/unix/uxpty.c index b54ed417..637eaa1a 100644 --- a/unix/uxpty.c +++ b/unix/uxpty.c @@ -865,6 +865,8 @@ static const char *pty_init(void *frontend, void **backend_handle, Config *cfg, *backend_handle = pty; + *realhost = dupprintf("\0"); + return NULL; } -- 2.11.0