mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-15 09:58:40 -07:00
indicate JSON_INDENT in -v correctly
This commit is contained in:
parent
0e65db3266
commit
3fb32a31fc
5
ocat.c
5
ocat.c
@ -172,7 +172,10 @@ void print_versioninfo()
|
||||
printf("\tDOCROOT = \"%s\"\n", DOCROOT);
|
||||
printf("\tGHASHPREC = %d\n", GHASHPREC);
|
||||
printf("\tDEFAULT_HISTORY_HOURS = %d\n", DEFAULT_HISTORY_HOURS);
|
||||
printf("\tJSON_INDENT = \"%s\"\n", (JSON_INDENT) ? JSON_INDENT : "NULL");
|
||||
printf("\tJSON_INDENT = ");
|
||||
if (JSON_INDENT)
|
||||
printf("\"%s\"\n", JSON_INDENT);
|
||||
else printf("NULL\n");
|
||||
|
||||
exit(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user