Skip to content

Commit

Permalink
fix empty braces warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Sep 4, 2023
1 parent d328ca8 commit 3bde978
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,10 +715,12 @@ void *fd_close(struct re_fhs *fhs)
break;
}

if (err)
if (err) {
DEBUG_WARNING("fd_close err: fd=%d (%m)\n", fhs->fd, err);
else
}
else {
DEBUG_INFO("fd_close: fd=%d\n", fhs->fd);
}

mbuf_write_ptr(re->fhsld, (intptr_t)fhs);
--re->nfds;
Expand Down

0 comments on commit 3bde978

Please sign in to comment.