diff options
Diffstat (limited to 'testing/tox_sync.c')
-rw-r--r-- | testing/tox_sync.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testing/tox_sync.c b/testing/tox_sync.c index 36b01cf4..d90024b5 100644 --- a/testing/tox_sync.c +++ b/testing/tox_sync.c | |||
@@ -254,11 +254,11 @@ int main(int argc, char *argv[]) | |||
254 | } | 254 | } |
255 | 255 | ||
256 | Tox *tox = tox_new(0, 0); | 256 | Tox *tox = tox_new(0, 0); |
257 | tox_callback_file_recv_chunk(tox, write_file, NULL); | 257 | tox_callback_file_recv_chunk(tox, write_file); |
258 | tox_callback_file_recv_control(tox, file_print_control, NULL); | 258 | tox_callback_file_recv_control(tox, file_print_control); |
259 | tox_callback_file_recv(tox, file_request_accept, NULL); | 259 | tox_callback_file_recv(tox, file_request_accept); |
260 | tox_callback_file_chunk_request(tox, tox_file_chunk_request, NULL); | 260 | tox_callback_file_chunk_request(tox, tox_file_chunk_request); |
261 | tox_callback_friend_connection_status(tox, print_online, NULL); | 261 | tox_callback_friend_connection_status(tox, print_online); |
262 | 262 | ||
263 | uint16_t port = atoi(argv[argvoffset + 2]); | 263 | uint16_t port = atoi(argv[argvoffset + 2]); |
264 | unsigned char *binary_string = hex_string_to_bin(argv[argvoffset + 3]); | 264 | unsigned char *binary_string = hex_string_to_bin(argv[argvoffset + 3]); |