From 5a785784f98506f3711fcfe16976250bbc81c61e Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 16 Aug 2018 06:53:50 -1100 Subject: [PATCH] Restore gtc --- iguana/exchanges/LP_ordermatch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index adbdfa198..1a0dc223c 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -654,9 +654,9 @@ 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 ( 0 && qp->gtc != 0 ) + if ( qp->gtc != 0 ) { - strcpy(&qp->uuidstr[strlen(qp->uuidstr)-6],"cccccc"); + //strcpy(&qp->uuidstr[strlen(qp->uuidstr)-6],"cccccc"); LP_gtc_addorder(qp); } {