|
|
@ -1073,7 +1073,7 @@ char *barterDEX(char *argstr) |
|
|
|
printf("barterDEX.(%s)\n",argstr); |
|
|
|
if ( (argjson= cJSON_Parse(argstr)) != 0 ) |
|
|
|
{ |
|
|
|
retstr = LP_command_process(ctx,LP_myipaddr,LP_mypubsock,argjson,(uint8_t *)argstr,(int32_t)strlen(argstr))); |
|
|
|
retstr = LP_command_process(ctx,LP_myipaddr,LP_mypubsock,argjson,(uint8_t *)argstr,(int32_t)strlen(argstr)); |
|
|
|
free_json(argjson); |
|
|
|
} else retstr = clonestr("{\"error\":\"couldnt parse request\"}"); |
|
|
|
return(retstr); |
|
|
|