diff scid/theme.c @ 44:576f4b1ec79f

scid: implement API authentication
author David Demelier <markand@malikania.fr>
date Thu, 11 Aug 2022 21:24:07 +0200
parents 6854efe15210
children 16f1c72d1635
line wrap: on
line diff
--- a/scid/theme.c	Thu Aug 11 11:34:32 2022 +0200
+++ b/scid/theme.c	Thu Aug 11 21:24:07 2022 +0200
@@ -437,7 +437,10 @@
 	json_t *doc;
 	char *ret;
 
-	doc = util_json_pack("{si ss}", "status", status, "message", message);
+	doc = util_json_pack("{si ss}",
+		"status",  status,
+		"message", message
+	);
 	ret = call(doc, "onPageStatus");
 
 	json_decref(doc);