From: Guus Sliepen Date: Wed, 13 Mar 2019 22:13:06 +0000 (+0100) Subject: Various fixes for the encrypted storage support. X-Git-Url: http://git.meshlink.io/?a=commitdiff_plain;h=53522b1c11222273c7b41f72b374e759d13b2165;hp=53522b1c11222273c7b41f72b374e759d13b2165;p=meshlink Various fixes for the encrypted storage support. - create_initial_config_files() and node_write_config() are now the only functions that generate the content of new config files from scratch. - All public API functions that change config files now immediately write them out. - Config files of nodes that join using an invitation file are immediately written out. - Ensure nodes marked dirty have their config files written out in periodic_handler(), and on meshlink_stop(). - Fix some memory leaks. - Write out updated config files, and recreate mesh->self in meshlink_set_port(). ---