summaryrefslogtreecommitdiff
path: root/toxcore/friend_requests.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-06-10 18:35:55 -0400
committerirungentoo <irungentoo@gmail.com>2014-06-10 18:35:55 -0400
commit07936960dfa527dfa99cb518217218948d552955 (patch)
tree27ce2c7782f758e6ffb79cee55ed0c6e0113903c /toxcore/friend_requests.c
parent99d594014014a37fdee9e83575a8895400c9cd60 (diff)
Astyle and fixes.
Diffstat (limited to 'toxcore/friend_requests.c')
-rw-r--r--toxcore/friend_requests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/friend_requests.c b/toxcore/friend_requests.c
index 4bf95a44..9b05cc51 100644
--- a/toxcore/friend_requests.c
+++ b/toxcore/friend_requests.c
@@ -72,8 +72,8 @@ uint32_t get_nospam(Friend_Requests *fr)
72 72
73 73
74/* Set the function that will be executed when a friend request is received. */ 74/* Set the function that will be executed when a friend request is received. */
75void callback_friendrequest(Friend_Requests *fr, void (*function)(void *, const uint8_t *, const uint8_t *, uint16_t, void *), 75void callback_friendrequest(Friend_Requests *fr, void (*function)(void *, const uint8_t *, const uint8_t *, uint16_t,
76 void *object, void *userdata) 76 void *), void *object, void *userdata)
77{ 77{
78 fr->handle_friendrequest = function; 78 fr->handle_friendrequest = function;
79 fr->handle_friendrequest_isset = 1; 79 fr->handle_friendrequest_isset = 1;