aboutsummaryrefslogtreecommitdiff
path: root/tests/server/tftpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server/tftpd.c')
-rw-r--r--tests/server/tftpd.c2
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: