From 8eef03a0b04987055f48066b28180678ab61fd2e Mon Sep 17 00:00:00 2001 From: Owen Dunn Date: Fri, 12 May 2006 11:02:28 +0000 Subject: [PATCH] pty_init should put _something_ into realhost [originally from svn r6679] --- 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; }