diff --git a/iguana/exchanges/LP_network.c b/iguana/exchanges/LP_network.c index 5284bac2c..eb3c0d7ea 100644 --- a/iguana/exchanges/LP_network.c +++ b/iguana/exchanges/LP_network.c @@ -275,7 +275,7 @@ void gc_loop(void *arg) flag = 0; LP_millistats_update(&LP_gcloop_stats); portable_mutex_lock(&LP_gcmutex); - DL_FOREACH_SAFE(LP_garbage_collector,req,rtmp) + DL_FOREACH(LP_garbage_collector,req) { DL_DELETE(LP_garbage_collector,req); //printf("garbage collect ipbits.%x\n",req->ipbits); @@ -285,7 +285,7 @@ void gc_loop(void *arg) portable_mutex_unlock(&LP_gcmutex); if ( flag == 0 ) usleep(5000); - //else printf("gc_loop.%d\n",flag); + else printf("gc_loop.%d\n",flag); } }