diff options
author | irungentoo <irungentoo@gmail.com> | 2015-01-28 20:48:07 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2015-01-28 20:48:07 -0500 |
commit | b83ff00c277671e087d580452288c89a84a0f3df (patch) | |
tree | e6bde54b39e8ab2baf97ddfccb216a7ed1e02a87 /toxcore/friend_requests.h | |
parent | 10ef3a674f16a02045c5135b4d568d3a2b53b8c4 (diff) |
Code cleanups.
Diffstat (limited to 'toxcore/friend_requests.h')
-rw-r--r-- | toxcore/friend_requests.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/friend_requests.h b/toxcore/friend_requests.h index b7e07af4..86069f3b 100644 --- a/toxcore/friend_requests.h +++ b/toxcore/friend_requests.h | |||
@@ -51,12 +51,12 @@ typedef struct { | |||
51 | void set_nospam(Friend_Requests *fr, uint32_t num); | 51 | void set_nospam(Friend_Requests *fr, uint32_t num); |
52 | uint32_t get_nospam(const Friend_Requests *fr); | 52 | uint32_t get_nospam(const Friend_Requests *fr); |
53 | 53 | ||
54 | /* Remove client id from received_requests list. | 54 | /* Remove real_pk from received_requests list. |
55 | * | 55 | * |
56 | * return 0 if it removed it successfully. | 56 | * return 0 if it removed it successfully. |
57 | * return -1 if it didn't find it. | 57 | * return -1 if it didn't find it. |
58 | */ | 58 | */ |
59 | int remove_request_received(Friend_Requests *fr, const uint8_t *client_id); | 59 | int remove_request_received(Friend_Requests *fr, const uint8_t *real_pk); |
60 | 60 | ||
61 | /* Set the function that will be executed when a friend request for us is received. | 61 | /* Set the function that will be executed when a friend request for us is received. |
62 | * Function format is function(uint8_t * public_key, uint8_t * data, uint16_t length, void * userdata) | 62 | * Function format is function(uint8_t * public_key, uint8_t * data, uint16_t length, void * userdata) |