Browse Source

Test

etomic
jl777 7 years ago
parent
commit
49c0feed90
  1. 4
      iguana/exchanges/LP_utxo.c

4
iguana/exchanges/LP_utxo.c

@ -72,9 +72,9 @@ void cJSON_unregister(cJSON *item)
}
DL_FOREACH_SAFE(LP_cJSONlist,ptr,tmp)
{
if ( ptr->item == item )
if ( ptr->cjsonid == item->cjsonid )
break;
else if ( now > ptr->timestamp+60 )
else if ( now > ptr->timestamp+60 && item->cjsonid != 0 )
{
portable_mutex_lock(&LP_cJSONmutex);
DL_DELETE(LP_cJSONlist,ptr);

Loading…
Cancel
Save