|
@ -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); |
|
|
strncpy(qp->uuidstr,uuidstr,sizeof(qp->uuidstr)-1); |
|
|
qp->maxprice = maxprice; |
|
|
qp->maxprice = maxprice; |
|
|
qp->timestamp = (uint32_t)time(NULL); |
|
|
qp->timestamp = (uint32_t)time(NULL); |
|
|
if ( qp->gtc != 0 ) |
|
|
if ( 0 && qp->gtc != 0 ) |
|
|
{ |
|
|
{ |
|
|
strcpy(&qp->uuidstr[strlen(qp->uuidstr)-6],"cccccc"); |
|
|
strcpy(&qp->uuidstr[strlen(qp->uuidstr)-6],"cccccc"); |
|
|
LP_gtc_addorder(qp); |
|
|
LP_gtc_addorder(qp); |
|
|