[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 8798c0a94a9cd5ac24fed349da37f8e8dc8f64fd
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits