gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 230/264: server/tftpd: fix compiler warning


From: gnunet
Subject: [gnurl] 230/264: server/tftpd: fix compiler warning
Date: Thu, 30 Apr 2020 16:08:53 +0200

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit fa7daafdbcd41f45bf082a0e834945034bf03203
Author: Daniel Stenberg <address@hidden>
AuthorDate: Mon Apr 20 22:21:07 2020 +0200

    server/tftpd: fix compiler warning
    
    Follow-up from 369ce38ac1d
    Reported-by: Marc Hörsken
---
 tests/server/tftpd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]