debug.h: Minor code style fix.

This commit is contained in:
Simon Ruderich
2013-06-06 20:13:04 +02:00
parent 7f9856c5da
commit 5af5f0faa2

View File

@@ -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);