We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19903cf commit 4f81f27Copy full SHA for 4f81f27
src/app_config.c
@@ -44,7 +44,7 @@ int save_app_config(void) {
44
45
fprintf(file, "system:\n");
46
fprintf(file, " web_port: %d\n", app_config.web_port);
47
- if (app_config.web_whitelist) {
+ if (!EMPTY(*app_config.web_whitelist)) {
48
fprintf(file, " web_whitelist: ");
49
for (int i = 0; app_config.web_whitelist[i] && *app_config.web_whitelist[i]; i++) {
50
fprintf(file, " - %s\n", app_config.web_whitelist[i]);
0 commit comments