diff options
author | irungentoo <irungentoo@gmail.com> | 2013-07-09 13:42:28 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-07-09 13:42:28 -0400 |
commit | 803fbafc507a8a19ef83420a462632892413b7f9 (patch) | |
tree | c861709ec89ab81330ab1abb829ea3629a98a4f8 /core/Messenger.c | |
parent | 127fced11fcd63dac78bdbf1077ee0e9c1478524 (diff) |
Comments updated.
Diffstat (limited to 'core/Messenger.c')
-rw-r--r-- | core/Messenger.c | 4 |
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. |
73 | int m_friendstatus(int friendnumber) | 73 | int m_friendstatus(int friendnumber) |