… | … | ||
---|---|---|---|
3586 | { | 3586 | { |
3587 | int state; | 3587 | int state; |
3588 | 3588 | ||
3589 | if (mode == 's') | 3589 | if (mode == 's') |
3590 | { | 3590 | { |
3591 | SavedModes |= (priv_modes & bit); | 3591 | if (priv_modes & bit) |
3592 | SavedModes |= bit; | ||
3593 | else | ||
3594 | SavedModes &= ~bit; | ||
3592 | return -1; | 3595 | return -1; |
3593 | } | 3596 | } |
3594 | else | 3597 | else |
3595 | { | 3598 | { |
3596 | if (mode == 'r') | 3599 | if (mode == 'r') |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |