Skip to content

Commit

Permalink
[bug] fix windows -N error
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jan 22, 2025
1 parent aeca212 commit 1f536ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mcx_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1f536ba

Please sign in to comment.