Skip to content
Commit a613842d authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov
Browse files

tty: Fix slave peer index accounting



We need to test every even index (which represents a slave
peer) thus use modulo operation here.

Reported-by: default avatarAlexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 11f8bb47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment