Browse Source
Merge pull request #772 from lukechilds/patch-2
Fix missing early return bug in LP_cancel_order
patch-3
jl777
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
iguana/exchanges/LP_ordermatch.c
|
|
@ -629,7 +629,7 @@ char *LP_cancel_order(char *uuidstr) |
|
|
|
{ |
|
|
|
LP_failedmsg(LP_Alicequery.R.requestid,LP_Alicequery.R.quoteid,-9998,LP_Alicequery.uuidstr); |
|
|
|
LP_alicequery_clear(); |
|
|
|
clonestr("{\"result\":\"success\",\"status\":\"uuid canceled\"}"); |
|
|
|
return(clonestr("{\"result\":\"success\",\"status\":\"uuid canceled\"}")); |
|
|
|
} |
|
|
|
return(clonestr("{\"error\":\"uuid not cancellable\"}")); |
|
|
|
} |
|
|
|