summaryrefslogtreecommitdiff
path: root/core/Messenger.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/Messenger.c')
-rw-r--r--core/Messenger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Messenger.c b/core/Messenger.c
index 4d484e54..57baa84c 100644
--- a/core/Messenger.c
+++ b/core/Messenger.c
@@ -12,7 +12,7 @@ typedef struct
12 uint8_t client_id[CLIENT_ID_SIZE]; 12 uint8_t client_id[CLIENT_ID_SIZE];
13 int crypt_connection_id; 13 int crypt_connection_id;
14 int friend_request_id; //id of the friend request corresponding to the current friend request to the current friend. 14 int friend_request_id; //id of the friend request corresponding to the current friend request to the current friend.
15 uint8_t status;//0 if no friend, 1 if added, 2 if friend request successfully sent, 3 if confirmed friend, 4 if online. 15 uint8_t status;//0 if no friend, 1 if added, 2 if friend request sent, 3 if confirmed friend, 4 if online.
16 16
17}Friend; 17}Friend;
18 18
@@ -67,7 +67,7 @@ int m_delfriend(int friendnumber)
67 67
68//return 4 if friend is online 68//return 4 if friend is online
69//return 3 if friend is confirmed 69//return 3 if friend is confirmed
70//return 2 if the friend request was sent successfully 70//return 2 if the friend request was sent
71//return 1 if the friend was added 71//return 1 if the friend was added
72//return 0 if there is no friend with that number. 72//return 0 if there is no friend with that number.
73int m_friendstatus(int friendnumber) 73int m_friendstatus(int friendnumber)