Rename macros per the new core API.
- TOX_FRIEND_ADDRESS_SIZE -> TOX_ADDRESS_SIZE - TOX_CLIENT_ID_SIZE -> TOX_PUBLIC_KEY_SIZE - TOX_USERSTATUS(_*) -> TOX_USER_STATUS(_*) - TOX_FAERR_* -> TOX_ERR_FRIEND_ADD_*
This commit is contained in:
parent
bf28ab37be
commit
f24e15f32a
11 changed files with 62 additions and 61 deletions
|
@ -53,7 +53,7 @@ twc_friend_request_add(struct t_twc_profile *profile,
|
|||
|
||||
request->profile = profile;
|
||||
request->message = strdup(message);
|
||||
memcpy(request->tox_id, client_id, TOX_CLIENT_ID_SIZE);
|
||||
memcpy(request->tox_id, client_id, TOX_PUBLIC_KEY_SIZE);
|
||||
|
||||
if (!twc_list_item_new_data_add(profile->friend_requests, request))
|
||||
return -2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue