diff --git a/monitor/main.c b/monitor/main.c
index b1c9500..4306743 100644
--- a/monitor/main.c
+++ b/monitor/main.c
uint32_t settings;
unsigned int i;
- if (len < 4) {
- printf("* Malformed New Settings control\n");
- return;
- }
+ if (len < 4) {
+ printf("* Malformed New Settings control\n");
+ return;
+ }
settings = bt_get_le32(buf);
if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, mon_fd, &epoll_event) < 0) {
perror("Failed to setup monitor event watch");
- goto close_epoll;
- }
+ goto close_epoll;
+ }
memset(&epoll_event, 0, sizeof(epoll_event));
epoll_event.events = EPOLLIN;