[tor-commits] [tor/release-0.4.1] address.c: add a single (harmless) missing break;

nickm at torproject.org nickm at torproject.org
Wed May 6 20:50:31 UTC 2020


commit 8798c0a94a9cd5ac24fed349da37f8e8dc8f64fd
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed May 6 10:42:17 2020 -0400

    address.c: add a single (harmless) missing break;
---
 src/lib/net/address.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/net/address.c b/src/lib/net/address.c
index a2d234b74..076ca3eb3 100644
--- a/src/lib/net/address.c
+++ b/src/lib/net/address.c
@@ -926,6 +926,7 @@ tor_addr_copy_tight(tor_addr_t *dest, const tor_addr_t *src)
       break;
     case AF_INET6:
       memcpy(dest->addr.in6_addr.s6_addr, src->addr.in6_addr.s6_addr, 16);
+      break;
     case AF_UNSPEC:
       break;
       // LCOV_EXCL_START





More information about the tor-commits mailing list