]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add fallthrough and braces
authorMark Andrews <marka@isc.org>
Fri, 24 Jul 2020 03:49:56 +0000 (13:49 +1000)
committerMark Andrews <marka@isc.org>
Fri, 24 Jul 2020 03:49:56 +0000 (13:49 +1000)
lib/isc/unix/socket.c

index 3972c4dd86823c306f28f1d0b26e68687d80b9d9..e6952bc9aff9a7362ec3eeeaa1da4bd03eff3f75 100644 (file)
@@ -4245,9 +4245,10 @@ isc_socket_cleanunix(const isc_sockaddr_t *sockaddr, bool active) {
        if (stat(sockaddr->type.sunix.sun_path, &sb) < 0) {
                switch (errno) {
                case ENOENT:
-                       if (active) /* We exited cleanly last time */
+                       if (active) /* We exited cleanly last time */
                                break;
-                       /* intentional falltrough */
+                       }
+                       /* FALLTHROUGH */
                default:
                        strerror_r(errno, strbuf, sizeof(strbuf));
                        isc_log_write(isc_lctx, ISC_LOGCATEGORY_GENERAL,