write standby.signal

This commit is contained in:
Ian Barwick
2019-08-15 16:16:18 +09:00
committed by Ian Barwick
parent 9eb6ce52b4
commit 2a37e28304
3 changed files with 57 additions and 5 deletions

View File

@@ -1946,7 +1946,7 @@ modify_auto_conf(const char *data_dir, KeyValueList *items)
}
else
{
if (fwrite(auto_conf_contents.data, strlen(auto_conf_contents.data) + 1, 1, fp) != 1)
if (fwrite(auto_conf_contents.data, strlen(auto_conf_contents.data), 1, fp) != 1)
{
fclose(fp);
}