Skip to content

Commit

Permalink
[core] sendBackup: logical OR instead of bitwise
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Mar 31, 2021
1 parent 26c07c5 commit 262fe21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srtcore/group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4193,7 +4193,7 @@ int CUDTGroup::sendBackup(const char* buf, int len, SRT_MSGCTRL& w_mc)
// is performed, and this one will result in none-write-ready, this will
// be fixed just after returning from this function.

ready_again = ready_again | d->ps->writeReady();
ready_again = ready_again || d->ps->writeReady();
}
w_mc.grpdata_size = i;

Expand Down

0 comments on commit 262fe21

Please sign in to comment.