Skip to content

Commit

Permalink
Changes to ambassador
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebenezer-group committed Jun 20, 2024
1 parent 86eea67 commit 2c19c4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tiers/cmwA.cc
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ int main (int ac,char** av)try{
for(;;){
ring.submit(cq);
if(cq->res<=0){
if(-EPIPE!=cq->res&&0!=cq->res)bail("op failed: %d",cq->res);
if(-EPIPE!=cq->res&&0!=cq->res)raise("op failed",cq->user_data,cq->res);
::syslog(LOG_ERR,"Back tier vanished");
frntBuf.reset();
::front::marshal<udpPacketMax>(frntBuf,{"Back tier vanished"});
Expand All @@ -205,7 +205,7 @@ int main (int ac,char** av)try{
login(cred,sa);
ring.reed();
}else if(0==cq->user_data){
if(!(cq->flags&IORING_CQE_F_MORE)){
if(~cq->flags&IORING_CQE_F_MORE){
::syslog(LOG_ERR,"Multishot");
ring.multishot(frntBuf.sock_);
}
Expand Down

0 comments on commit 2c19c4a

Please sign in to comment.