summaryrefslogtreecommitdiff
path: root/src/core/wee-log.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-04-30 21:15:30 +0200
committerSébastien Helleu <flashcode@flashtux.org>2015-04-30 21:15:30 +0200
commit71dd64678c4e206ca6b713a1323785124116f38d (patch)
treee8f93f5d3274ac8a0117db5ba9d92e022e757b31 /src/core/wee-log.c
parent499f36a7cf8d545693bcb5946408ff8a007ddac9 (diff)
downloadweechat-71dd64678c4e206ca6b713a1323785124116f38d.zip
core: add comments after some #endif
Diffstat (limited to 'src/core/wee-log.c')
-rw-r--r--src/core/wee-log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-log.c b/src/core/wee-log.c
index 997b53772..89c844294 100644
--- a/src/core/wee-log.c
+++ b/src/core/wee-log.c
@@ -98,7 +98,7 @@ log_open (const char *filename, const char *mode)
return 0;
}
}
-#endif
+#endif /* HAVE_FLOCK */
return 1;
}
@@ -224,7 +224,7 @@ log_close ()
{
#ifdef HAVE_FLOCK
flock (fileno (weechat_log_file), LOCK_UN);
-#endif
+#endif /* HAVE_FLOCK */
fclose (weechat_log_file);
weechat_log_file = NULL;
}