1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 09:12:24 +00:00

Stupid typo, spotted by GCC.

[originally from svn r5168]
This commit is contained in:
Ben Harris 2005-01-22 15:20:35 +00:00
parent 258a87361a
commit a54961fe87

View File

@ -713,7 +713,7 @@ Socket sk_newlistener(char *srcaddr, int port, Plug plug, int local_host_only, i
hints.ai_next = NULL; hints.ai_next = NULL;
sprintf(portstr, "%d", port); sprintf(portstr, "%d", port);
retcode = getaddrinfo(srcaddr, portstr, &hints, &ai); retcode = getaddrinfo(srcaddr, portstr, &hints, &ai);
if (retcode = 0) { if (retcode == 0) {
addr = ai->ai_addr; addr = ai->ai_addr;
addrlen = ai->ai_addrlen; addrlen = ai->ai_addrlen;
} }