X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fnet_setup.c;h=667d15a381723869df9abdf650adbeb3cdfdce23;hp=b4a16c7e17fd782341db34bd256c9754c1c7fd8b;hb=477973fd217114dec8218cb7f8d99655272a3669;hpb=4216a7e7a1897c0e34ce82e7c2c4cc82070c7b10 diff --git a/src/net_setup.c b/src/net_setup.c index b4a16c7e..667d15a3 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -272,7 +272,7 @@ bool node_write_config(meshlink_handle_t *mesh, node_t *n) { config_t config = {buf, packmsg_output_size(&out, buf)}; if(!config_write(mesh, "current", n->name, &config, mesh->config_key)) { - call_error_cb(mesh); + call_error_cb(mesh, MESHLINK_ESTORAGE); return false; }