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 /toxcore/tox.c | |
parent | ad87dbb470cb9b223c66727ab6ad615f46e73a37 (diff) |
Api changes.
receive to recv in file receive functions.
Added TOX_MAX_FILENAME_LENGTH define.
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r-- | toxcore/tox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c index f245993f..04218ef2 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -1078,13 +1078,13 @@ void tox_callback_file_request_chunk(Tox *tox, tox_file_request_chunk_cb *functi | |||
1078 | callback_file_reqchunk(m, function, user_data); | 1078 | callback_file_reqchunk(m, function, user_data); |
1079 | } | 1079 | } |
1080 | 1080 | ||
1081 | void tox_callback_file_receive(Tox *tox, tox_file_receive_cb *function, void *user_data) | 1081 | void tox_callback_file_recv(Tox *tox, tox_file_recv_cb *function, void *user_data) |
1082 | { | 1082 | { |
1083 | Messenger *m = tox; | 1083 | Messenger *m = tox; |
1084 | callback_file_sendrequest(m, function, user_data); | 1084 | callback_file_sendrequest(m, function, user_data); |
1085 | } | 1085 | } |
1086 | 1086 | ||
1087 | void tox_callback_file_receive_chunk(Tox *tox, tox_file_receive_chunk_cb *function, void *user_data) | 1087 | void tox_callback_file_recv_chunk(Tox *tox, tox_file_recv_chunk_cb *function, void *user_data) |
1088 | { | 1088 | { |
1089 | Messenger *m = tox; | 1089 | Messenger *m = tox; |
1090 | callback_file_data(m, function, user_data); | 1090 | callback_file_data(m, function, user_data); |