|
|
@ -133,13 +133,15 @@ int32_t LP_quoteparse(struct LP_quoteinfo *qp,cJSON *argjson) |
|
|
|
if ( qp->R.requestid == 0 ) |
|
|
|
{ |
|
|
|
rid = basilisk_requestid(&qp->R); |
|
|
|
printf("requestid.%u -> %u\n",qp->R.requestid,rid); |
|
|
|
if ( qp->R.requestid != 0 && qp->R.requestid != rid ) |
|
|
|
printf("requestid.%u -> %u\n",qp->R.requestid,rid); |
|
|
|
qp->R.requestid = rid; |
|
|
|
} |
|
|
|
if ( qp->R.quoteid == 0 ) |
|
|
|
{ |
|
|
|
qid = basilisk_quoteid(&qp->R); |
|
|
|
printf("quoteid.%u -> %u\n",qp->R.quoteid,qid); |
|
|
|
if ( qp->R.quoteid != 0 && qp->R.quoteid != qid ) |
|
|
|
printf("quoteid.%u -> %u\n",qp->R.quoteid,qid); |
|
|
|
qp->R.quoteid = qid; |
|
|
|
} |
|
|
|
return(0); |
|
|
|