git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge commit 'b5d57fc87925cb3c029de19d0a94de5ca07ae28e'
[sliver-openvswitch.git]
/
lib
/
memory.c
diff --git
a/lib/memory.c
b/lib/memory.c
index
c26c743
..
1137390
100644
(file)
--- a/
lib/memory.c
+++ b/
lib/memory.c
@@
-137,8
+137,10
@@
memory_report(const struct simap *usage)
ds_init(&s);
compose_report(usage, &s);
- if (want_report && s.length) {
- VLOG_INFO("%s", ds_cstr(&s));
+ if (want_report) {
+ if (s.length) {
+ VLOG_INFO("%s", ds_cstr(&s));
+ }
want_report = false;
}
if (n_conns) {