Skip to content

Commit

Permalink
Tweaks to library
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebenezer-group committed Jan 18, 2025
1 parent 2e7be05 commit 9eeba0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmwBuffer.hh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class MarshallingInt{
for(;;){
auto a=give<::uint8_t>(b);
val+=(a&127)*shift;
if((a&128)==0)return;
if(!(a&128))return;
shift<<=7;
val+=shift;
}
Expand Down Expand Up @@ -634,7 +634,7 @@ inline void setRcvTimeout (sockType s,int time){
inline void winStart (){
#ifdef CMW_WINDOWS
WSADATA w;
if(auto r=::WSAStartup(MAKEWORD(2,2),&w);0!=r)raise("WSAStartup",r);
if(auto r=::WSAStartup(MAKEWORD(2,2),&w);r)raise("WSAStartup",r);
#endif
}
}

0 comments on commit 9eeba0b

Please sign in to comment.