mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Add fallthrough and braces
This commit is contained in:
parent
1ba814a28c
commit
70c060120f
1 changed files with 3 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue