mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
`realhost', passed back from all the backend init functions, was
scoped within those functions. It's now dynamically allocated. [originally from svn r1108]
This commit is contained in:
3
telnet.c
3
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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user