Closed bakerkj closed 8 years ago
The code in write_receiver_json() never renames the receiver.json.new file to receiver.json. Below is a patch that does.
static int write_receiver_json(const char *dir) { char path[PATH_MAX];
@@ -200,6 +201,11 @@ static int write_receiver_json(const char *dir) "}\n"); fclose(f);
Good catch, thanks!
The code in write_receiver_json() never renames the receiver.json.new file to receiver.json. Below is a patch that does.
static int write_receiver_json(const char *dir) { char path[PATH_MAX];
@@ -200,6 +201,11 @@ static int write_receiver_json(const char *dir) "}\n"); fclose(f);