summaryrefslogtreecommitdiff
path: root/testing/nTox.c
diff options
context:
space:
mode:
authordubslow <bunslow@gmail.com>2014-09-28 12:37:47 -0500
committerdubslow <bunslow@gmail.com>2014-09-28 12:37:47 -0500
commit57666d95bac5e070acda74020f5faca88cfa4bd5 (patch)
tree7dd17305a43ce332984034a1dec783d8e96ac780 /testing/nTox.c
parent3711b881cb6f64cf08209f70216ec75672464d1a (diff)
parent72d6a92efd8cad191282c8a2e294a768c49d5f25 (diff)
Merge branch 'master' of https://github.com/irungentoo/toxcore
Diffstat (limited to 'testing/nTox.c')
-rw-r--r--testing/nTox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/nTox.c b/testing/nTox.c
index edda43b1..b33b1fd3 100644
--- a/testing/nTox.c
+++ b/testing/nTox.c
@@ -1001,11 +1001,11 @@ void print_help(char *prog_name)
1001 puts(" -f keyfile [Optional] Specify a keyfile to read from and write to."); 1001 puts(" -f keyfile [Optional] Specify a keyfile to read from and write to.");
1002} 1002}
1003 1003
1004void print_invite(Tox *m, int friendnumber, const uint8_t *group_public_key, void *userdata) 1004void print_invite(Tox *m, int friendnumber, const uint8_t *data, uint16_t length, void *userdata)
1005{ 1005{
1006 char msg[256]; 1006 char msg[256];
1007 sprintf(msg, "[i] received group chat invite from: %u, auto accepting and joining. group number: %u", friendnumber, 1007 sprintf(msg, "[i] received group chat invite from: %u, auto accepting and joining. group number: %u", friendnumber,
1008 tox_join_groupchat(m, friendnumber, group_public_key)); 1008 tox_join_groupchat(m, friendnumber, data, length));
1009 new_lines(msg); 1009 new_lines(msg);
1010} 1010}
1011 1011