Browse Source
Merge pull request #947 from jl777/jl777
Remove cccccc mangling of gtc uuidstr
patch-4
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
|
|
@ -654,7 +654,7 @@ char *LP_trade(void *ctx,char *myipaddr,int32_t mypubsock,struct LP_quoteinfo *q |
|
|
|
strncpy(qp->uuidstr,uuidstr,sizeof(qp->uuidstr)-1); |
|
|
|
qp->maxprice = maxprice; |
|
|
|
qp->timestamp = (uint32_t)time(NULL); |
|
|
|
if ( qp->gtc != 0 ) |
|
|
|
if ( 0 && qp->gtc != 0 ) |
|
|
|
{ |
|
|
|
strcpy(&qp->uuidstr[strlen(qp->uuidstr)-6],"cccccc"); |
|
|
|
LP_gtc_addorder(qp); |
|
|
|