2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Merge branch 'marka-add-fallthrough' into 'main'

Add fallthrough and braces

See merge request isc-projects/bind9!3884
This commit is contained in:
Mark Andrews
2020-07-24 04:15:03 +00:00

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,