From: Guus Sliepen Date: Tue, 7 Apr 2020 22:46:26 +0000 (+0200) Subject: Fix a debug message being logged incorrectly. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=09a250a2b1d475700e1d8f18d1a835d17d0483b1;p=meshlink Fix a debug message being logged incorrectly. --- 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); }