From 0738678462979a3a3ee46cfc9c66d15002cafe72 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Tue, 29 Jul 2014 12:24:25 +0200 Subject: [PATCH] Fix meshlink_add_address(). This was broken due to commit 656a7bca4fd4acac5c3411087a6ed62fa4b7fa81. --- src/conf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conf.c b/src/conf.c index aa22c47f..36c10acb 100644 --- a/src/conf.c +++ b/src/conf.c @@ -323,6 +323,7 @@ bool append_config_file(meshlink_handle_t *mesh, const char *name, const char *k if(!fp) { logger(DEBUG_ALWAYS, LOG_ERR, "Cannot open config file %s: %s", filename, strerror(errno)); } else { + fprintf(fp, "%s = %s\n", key, value); fclose(fp); } -- 2.39.5