Browse Source

syntax

jl777
jl777 7 years ago
parent
commit
581ed0cc40
  1. 4
      iguana/exchanges/LP_ordermatch.c

4
iguana/exchanges/LP_ordermatch.c

@ -625,11 +625,11 @@ int32_t LP_alice_eligible(uint32_t quotetime)
char *LP_cancel_order(char *uuidstr) char *LP_cancel_order(char *uuidstr)
{ {
if ( uuidstr != 0 && strcmp(LP_Alicequery.uuidstr[0],uuidstr) == 0 ) if ( uuidstr != 0 && strcmp(LP_Alicequery.uuidstr,uuidstr) == 0 )
{ {
LP_failedmsg(LP_Alicequery.R.requestid,LP_Alicequery.R.quoteid,-9998,LP_Alicequery.uuidstr); LP_failedmsg(LP_Alicequery.R.requestid,LP_Alicequery.R.quoteid,-9998,LP_Alicequery.uuidstr);
LP_alicequery_clear(); LP_alicequery_clear();
clonestr("{\"result\":\"success\",\"status\":\"uuid canceled\"}") clonestr("{\"result\":\"success\",\"status\":\"uuid canceled\"}");
} }
return(clonestr("{\"error\":\"uuid not cancellable\"}")); return(clonestr("{\"error\":\"uuid not cancellable\"}"));
} }

Loading…
Cancel
Save