diff options
author | irungentoo <irungentoo@gmail.com> | 2015-03-18 12:54:00 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2015-03-18 12:54:00 -0400 |
commit | 5b7cbc89560828c2f5b0b2d1f4cdd738da0797a0 (patch) | |
tree | 0a2a36ec3b0d9e1e70100990ae6e47355da84a22 /testing/tox_sync.c | |
parent | ad87dbb470cb9b223c66727ab6ad615f46e73a37 (diff) |
Api changes.
receive to recv in file receive functions.
Added TOX_MAX_FILENAME_LENGTH define.
Diffstat (limited to 'testing/tox_sync.c')
-rw-r--r-- | testing/tox_sync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tox_sync.c b/testing/tox_sync.c index 8c693793..5c9af02e 100644 --- a/testing/tox_sync.c +++ b/testing/tox_sync.c | |||
@@ -230,9 +230,9 @@ int main(int argc, char *argv[]) | |||
230 | } | 230 | } |
231 | 231 | ||
232 | Tox *tox = tox_new(0, 0, 0, 0); | 232 | Tox *tox = tox_new(0, 0, 0, 0); |
233 | tox_callback_file_receive_chunk(tox, write_file, NULL); | 233 | tox_callback_file_recv_chunk(tox, write_file, NULL); |
234 | tox_callback_file_recv_control(tox, file_print_control, NULL); | 234 | tox_callback_file_recv_control(tox, file_print_control, NULL); |
235 | tox_callback_file_receive(tox, file_request_accept, NULL); | 235 | tox_callback_file_recv(tox, file_request_accept, NULL); |
236 | tox_callback_file_request_chunk(tox, tox_file_request_chunk, NULL); | 236 | tox_callback_file_request_chunk(tox, tox_file_request_chunk, NULL); |
237 | tox_callback_friend_connection_status(tox, print_online, NULL); | 237 | tox_callback_friend_connection_status(tox, print_online, NULL); |
238 | 238 | ||