From d12e169c1e733b255d146847ed57037b74681285 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 19 Dec 2020 10:21:54 -0800 Subject: fixes #1372 nni_reap could be smaller --- src/core/sockimpl.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/core/sockimpl.h') diff --git a/src/core/sockimpl.h b/src/core/sockimpl.h index 804fa00c..638a3bfd 100644 --- a/src/core/sockimpl.h +++ b/src/core/sockimpl.h @@ -37,7 +37,7 @@ struct nni_dialer { nni_duration d_currtime; // current time for reconnect nni_duration d_inirtime; // initial time for reconnect nni_time d_conntime; // time of last good connect - nni_reap_item d_reap; + nni_reap_node d_reap; #ifdef NNG_ENABLE_STATS nni_stat_item st_root; @@ -73,7 +73,7 @@ struct nni_listener { nni_list l_pipes; nni_aio l_acc_aio; nni_aio l_tmo_aio; - nni_reap_item l_reap; + nni_reap_node l_reap; #ifdef NNG_ENABLE_STATS nni_stat_item st_root; @@ -111,7 +111,7 @@ struct nni_pipe { int p_ref; nni_mtx p_mtx; nni_cv p_cv; - nni_reap_item p_reap; + nni_reap_node p_reap; #ifdef NNG_ENABLE_STATS nni_stat_item st_root; @@ -122,7 +122,6 @@ struct nni_pipe { nni_stat_item st_tx_msgs; nni_stat_item st_rx_bytes; nni_stat_item st_tx_bytes; - #endif }; -- cgit v1.2.3-70-g09d2