git://git.onelab.eu
/
distributedratelimiting.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added option to run without the assumption of PlanetLab Vservers. We still assume...
[distributedratelimiting.git]
/
drl
/
logging.c
diff --git
a/drl/logging.c
b/drl/logging.c
index
ca3d7c1
..
23a6f59
100644
(file)
--- a/
drl/logging.c
+++ b/
drl/logging.c
@@
-7,9
+7,9
@@
FILE *logfile;
uint8_t system_loglevel;
inline void printlog(const uint8_t level, const char *format, ...) {
- va_list args;
-
if (system_loglevel <= level) {
+ va_list args;
+
va_start(args, format);
vfprintf(logfile, format, args);
va_end(args);