`realhost', passed back from all the backend init functions, was
[u/mdw/putty] / telnet.c
index 3cef9c7..41de319 100644 (file)
--- a/telnet.c
+++ b/telnet.c
@@ -587,7 +587,8 @@ static int telnet_receive(Plug plug, int urgent, char *data, int len)
  *
  * Returns an error message, or NULL on success.
  *
- * Also places the canonical host name into `realhost'.
+ * Also places the canonical host name into `realhost'. It must be
+ * freed by the caller.
  */
 static char *telnet_init(char *host, int port, char **realhost)
 {