2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-05 09:05:40 +00:00

Add fallthrough and braces

This commit is contained in:
Mark Andrews
2020-07-24 13:49:56 +10:00
parent 1ba814a28c
commit 70c060120f

View 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,