mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
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",
|
logmsg("getsockname() failed with error: (%d) %s",
|
||||||
error, strerror(error));
|
error, strerror(error));
|
||||||
sclose(sock);
|
sclose(sock);
|
||||||
return CURL_SOCKET_BAD;
|
goto tftpd_cleanup;
|
||||||
}
|
}
|
||||||
switch(localaddr.sa.sa_family) {
|
switch(localaddr.sa.sa_family) {
|
||||||
case AF_INET:
|
case AF_INET:
|
||||||
|
Loading…
Reference in New Issue
Block a user