Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebenezer-group committed Dec 11, 2023
1 parent 37d0d24 commit 2bbebab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/cmwBuffer.hh
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,6 @@ template<class R,class Z,int sz>class BufferCompressed:public SendBuffer<Z>,publ
}

bool flush (){
if(this->index>0)compress();
return all(Write(this->sock_,compBuf,compIndex));
}

Expand Down
1 change: 1 addition & 0 deletions src/tiers/cmwA.cc
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ void login (cmwCredentials const& cred,SockaddrWrapper const &sa,bool signUp=fal
::sleep(30);
}

cmwBuf.compress();
while(!cmwBuf.flush());
::sctp_paddrparams pad{};
pad.spp_address.ss_family=AF_INET;
Expand Down

0 comments on commit 2bbebab

Please sign in to comment.