From 1f536ba9f0e51202ee303c6250196f2cc3501cc1 Mon Sep 17 00:00:00 2001 From: Qianqian Fang Date: Tue, 21 Jan 2025 23:13:15 -0500 Subject: [PATCH] [bug] fix windows -N error --- src/mcx_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcx_utils.c b/src/mcx_utils.c index a0648a3d..c6f26ada 100644 --- a/src/mcx_utils.c +++ b/src/mcx_utils.c @@ -5084,7 +5084,7 @@ void mcx_parsecmd(int argc, char* argv[], Config* cfg) { if (i == argc - 1 || argv[i + 1][0] == '-') { int j, doclen; char* jbuf = NULL; - runcommand("curl -s -X GET 'https://neurojson.io:7777/mcx/_all_docs'", "", &jbuf); + runcommand("curl -s -X GET \"https://neurojson.io:7777/mcx/_all_docs\"", "", &jbuf); cJSON* root = cJSON_Parse(jbuf), *docs = cJSON_GetObjectItem(root, "rows"), *subitem, *tmp; if (!docs) {