From 4eaab2ae9ff8771c5eab40c2c9fd5ad13386077f Mon Sep 17 00:00:00 2001 From: Ebenezer-group Date: Sat, 4 Jan 2025 21:15:50 -0600 Subject: [PATCH] Tweak to ambassador --- src/tiers/cmwA.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tiers/cmwA.cc b/src/tiers/cmwA.cc index 9d3fdbb..659feef 100644 --- a/src/tiers/cmwA.cc +++ b/src/tiers/cmwA.cc @@ -247,9 +247,7 @@ int main (int ac,char** av)try{ ::syslog(LOG_ERR,"Back tier vanished %llu %d",cq->user_data,cq->res); rfrntBuf.reset(); ::front::marshal(rfrntBuf,{"Back tier vanished"}); - for(auto& r:pendingRequests){ - rfrntBuf.send(&r.frnt.addr,r.frnt.len); - } + for(auto& r:pendingRequests){rfrntBuf.send(&r.frnt.addr,r.frnt.len);} pendingRequests.clear(); cmwBuf.compressedReset(); ring->clos(cmwBuf.sock_);