diff --git a/log-handler.c b/log-handler.c
index 1212b52..5b17c94 100644
--- a/log-handler.c
+++ b/log-handler.c
@@ -84,13 +84,15 @@
 
 	if (lh->size + len > lh->maxsize) {
 		rc = log_trim(lh);
-		if (rc)
+		if (rc) {
 			return rc;
+		}
 	}
 
 	rc = write_buf_to_fd(lh->fd, buf, len);
-	if (rc)
+	if (rc) {
 		return rc;
+	}
 
 	lh->size += len;
 
@@ -109,12 +111,14 @@
 	 * commit straight away. */
 	for (;;) {
 		len = ringbuffer_dequeue_peek(lh->rbc, 0, &buf);
-		if (!len)
+		if (!len) {
 			break;
+		}
 
 		rc = log_data(lh, buf, len);
-		if (rc)
+		if (rc) {
 			return RINGBUFFER_POLL_REMOVE;
+		}
 
 		ringbuffer_dequeue_commit(lh->rbc, len);
 	}
@@ -146,8 +150,9 @@
 	lh->maxsize = logsize <= lh->pagesize ? lh->pagesize + 1 : logsize;
 
 	filename = config_get_value(config, "logfile");
-	if (!filename)
+	if (!filename) {
 		filename = default_filename;
+	}
 
 	lh->fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, 0644);
 	if (lh->fd < 0) {
