From 4779561ea3076baa50288f848fb929dc1e5b4025 Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Wed, 7 Aug 2013 20:24:06 -0400 Subject: [PATCH] Refactored an expression --- core/Messenger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Messenger.c b/core/Messenger.c index b1050230..3d991e63 100644 --- a/core/Messenger.c +++ b/core/Messenger.c @@ -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);