]> git.meshlink.io Git - meshlink/blobdiff - src/conf.c
Fix meshlink_add_address().
[meshlink] / src / conf.c
index aa22c47ff9a67807e2721ba7d7671a3bcbfe7a0e..36c10acb45d3d025458de83fdc89bd52f8824d43 100644 (file)
@@ -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);
        }