From: Guus Sliepen Date: Tue, 29 Jul 2014 10:24:25 +0000 (+0200) Subject: Fix meshlink_add_address(). X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=0738678462979a3a3ee46cfc9c66d15002cafe72;p=meshlink Fix meshlink_add_address(). This was broken due to commit 656a7bca4fd4acac5c3411087a6ed62fa4b7fa81. --- 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); }