mirror of https://github.com/moparisthebest/curl
server/tftpd: fix compiler warning
Follow-up from 369ce38ac1
Reported-by: Marc Hörsken
This commit is contained in:
parent
df28ed6116
commit
fa7daafdbc
|
@ -709,7 +709,7 @@ int main(int argc, char **argv)
|
|||
logmsg("getsockname() failed with error: (%d) %s",
|
||||
error, strerror(error));
|
||||
sclose(sock);
|
||||
return CURL_SOCKET_BAD;
|
||||
goto tftpd_cleanup;
|
||||
}
|
||||
switch(localaddr.sa.sa_family) {
|
||||
case AF_INET:
|
||||
|
|
Loading…
Reference in New Issue