From: Simon Ruderich Date: Thu, 6 Jun 2013 18:13:04 +0000 (+0200) Subject: debug.h: Minor code style fix. X-Git-Tag: 0.1~105 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=5af5f0faa243da42e04028c1f723fe899d24444d;p=coloredstderr%2Fcoloredstderr.git debug.h: Minor code style fix. --- diff --git a/src/debug.h b/src/debug.h index 4dab03c..1a45c0f 100644 --- a/src/debug.h +++ b/src/debug.h @@ -26,8 +26,9 @@ static void debug(const char *format, ...) { /* If the file doesn't exist, do nothing. Prevents writing log files in * unexpected places. The user must create the file manually. */ int fd = open(DEBUG_FILE, O_WRONLY | O_APPEND); - if (fd == -1) + if (fd == -1) { return; + } va_list ap; va_start(ap, format);