From 09a250a2b1d475700e1d8f18d1a835d17d0483b1 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Wed, 8 Apr 2020 00:46:26 +0200 Subject: [PATCH] Fix a debug message being logged incorrectly. --- src/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net.c b/src/net.c index 85cbf3d4..05049cff 100644 --- a/src/net.c +++ b/src/net.c @@ -610,7 +610,7 @@ static void periodic_handler(event_loop_t *loop, void *data) { for splay_each(node_t, n, mesh->nodes) { if(n->status.dirty) { - if(node_write_config(mesh, n)) { + if(!node_write_config(mesh, n)) { logger(mesh, MESHLINK_DEBUG, "Could not update %s", n->name); } -- 2.39.5