From 0a2c7df0c9d8ef801ced567d8638ae0c86a63257 Mon Sep 17 00:00:00 2001 From: Tobias Jahnke Date: Mon, 14 Aug 2017 14:09:21 +0200 Subject: fixes missing assignment in API 'listconfig' and removes unnecessary project configuration --- ucs2-afb/ucs_binding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ucs2-afb') diff --git a/ucs2-afb/ucs_binding.c b/ucs2-afb/ucs_binding.c index 8a1174c..7d27fc6 100644 --- a/ucs2-afb/ucs_binding.c +++ b/ucs2-afb/ucs_binding.c @@ -521,7 +521,7 @@ PUBLIC void ucs2_listconfig (struct afb_req request) { queryJ = afb_req_json(request); if (queryJ && json_object_object_get_ex (queryJ, "cfgpath" , &tmpJ)) { - strdup (json_object_get_string(tmpJ)); + dirList = strdup (json_object_get_string(tmpJ)); } else { dirList = strdup (UCS2_CFG_PATH); AFB_NOTICE ("fgpath:missing uses UCS2_CFG_PATH=%s", UCS2_CFG_PATH); -- cgit 1.2.3-korg