Commit a7c71d80 authored by Michael Tremer's avatar Michael Tremer

network-list: Simplify debugging output on summarize

Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent 25612764
...@@ -363,12 +363,7 @@ int loc_network_list_summarize(struct loc_ctx* ctx, ...@@ -363,12 +363,7 @@ int loc_network_list_summarize(struct loc_ctx* ctx,
if (r) if (r)
return r; return r;
#ifdef ENABLE_DEBUG DEBUG(ctx, "Found network %s\n", loc_network_str(network));
const char* n = loc_network_str(network);
if (n) {
DEBUG(ctx, "Found network %s\n", n);
}
#endif
// Push network on the list // Push network on the list
r = loc_network_list_push(*list, network); r = loc_network_list_push(*list, network);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment