diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-04-20 22:21:07 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-04-20 22:21:31 +0200 |
commit | fa7daafdbcd41f45bf082a0e834945034bf03203 (patch) | |
tree | 0e367edd92a1ed422c709f2329488f3ee0384310 /tests/server/tftpd.c | |
parent | df28ed6116862921994b1abc5147cb64360e4241 (diff) | |
download | curl-fa7daafdbcd41f45bf082a0e834945034bf03203.tar.gz |
server/tftpd: fix compiler warning
Follow-up from 369ce38ac1d
Reported-by: Marc Hörsken
Diffstat (limited to 'tests/server/tftpd.c')
-rw-r--r-- | tests/server/tftpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c index 46b09b562..0c0e9bedf 100644 --- a/tests/server/tftpd.c +++ b/tests/server/tftpd.c @@ -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: |