Browse Source

Uuidstr hex

pass-iguana-arg
jl777 7 years ago
parent
commit
05dc58444e
  1. 2
      iguana/exchanges/LP_ordermatch.c

2
iguana/exchanges/LP_ordermatch.c

@ -623,7 +623,7 @@ char *LP_trade(void *ctx,char *myipaddr,int32_t mypubsock,struct LP_quoteinfo *q
qp->timestamp = (uint32_t)time(NULL); qp->timestamp = (uint32_t)time(NULL);
if ( qp->gtc != 0 ) if ( qp->gtc != 0 )
{ {
strcpy(&qp->uuidstr[strlen(qp->uuidstr)-3],"GTC"); strcpy(&qp->uuidstr[strlen(qp->uuidstr)-6],"cccccc");
gtc = calloc(1,sizeof(*gtc)); gtc = calloc(1,sizeof(*gtc));
gtc->Q = *qp; gtc->Q = *qp;
gtc->maxprice = maxprice; gtc->maxprice = maxprice;

Loading…
Cancel
Save