]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/uxpty.c
Clarify when ldisc->term may be NULL.
[PuTTY.git] / unix / uxpty.c
index 98f917932b5561856d9ef99f843aa36a6555a38b..54ba082c3a0e6a74107a1e923c2ff1001d9a418f 100644 (file)
@@ -938,7 +938,7 @@ static const char *pty_init(void *frontend, void **backend_handle, Conf *conf,
 
     *backend_handle = pty;
 
-    *realhost = dupprintf("\0");
+    *realhost = dupstr("");
 
     return NULL;
 }