mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Refactored an expression
This commit is contained in:
parent
b6a3f2b403
commit
4779561ea3
|
@ -554,7 +554,7 @@ static void doFriends(void)
|
|||
case PACKET_ID_USERSTATUS: {
|
||||
if (len != 2)
|
||||
break;
|
||||
USERSTATUS status = *(temp + 1);
|
||||
USERSTATUS status = temp[1];
|
||||
if (friend_userstatuschange_isset)
|
||||
friend_userstatuschange(i, status);
|
||||
set_friend_userstatus(i, status);
|
||||
|
|
Loading…
Reference in New Issue
Block a user