diff options
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/Messenger.c | 4 | ||||
-rw-r--r-- | toxcore/Messenger.h | 2 | ||||
-rw-r--r-- | toxcore/tox.c | 2 | ||||
-rw-r--r-- | toxcore/tox.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c index 43572eff..14f01373 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c | |||
@@ -2175,9 +2175,9 @@ int get_friendlist(Messenger *m, int **out_list, uint32_t *out_list_length) | |||
2175 | return 0; | 2175 | return 0; |
2176 | } | 2176 | } |
2177 | 2177 | ||
2178 | /* Return the number of chat in the instance m. | 2178 | /* Return the number of chats in the instance m. |
2179 | * You should use this to determine how much memory to allocate | 2179 | * You should use this to determine how much memory to allocate |
2180 | * for copy_grouplist. */ | 2180 | * for copy_chatlist. */ |
2181 | uint32_t count_chatlist(Messenger *m) | 2181 | uint32_t count_chatlist(Messenger *m) |
2182 | { | 2182 | { |
2183 | uint32_t ret = 0; | 2183 | uint32_t ret = 0; |
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h index 1e463e36..3b99b3cf 100644 --- a/toxcore/Messenger.h +++ b/toxcore/Messenger.h | |||
@@ -635,7 +635,7 @@ int get_friendlist(Messenger *m, int **out_list, uint32_t *out_list_length); | |||
635 | 635 | ||
636 | /* Return the number of chats in the instance m. | 636 | /* Return the number of chats in the instance m. |
637 | * You should use this to determine how much memory to allocate | 637 | * You should use this to determine how much memory to allocate |
638 | * for copy_grouplist. */ | 638 | * for copy_chatlist. */ |
639 | uint32_t count_chatlist(Messenger *m); | 639 | uint32_t count_chatlist(Messenger *m); |
640 | 640 | ||
641 | /* Copy a list of valid chat IDs into the array out_list. | 641 | /* Copy a list of valid chat IDs into the array out_list. |
diff --git a/toxcore/tox.c b/toxcore/tox.c index 26ab3429..5e110cbe 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -479,7 +479,7 @@ int tox_group_message_send(Tox *tox, int groupnumber, uint8_t *message, uint32_t | |||
479 | 479 | ||
480 | /* Return the number of chats in the instance m. | 480 | /* Return the number of chats in the instance m. |
481 | * You should use this to determine how much memory to allocate | 481 | * You should use this to determine how much memory to allocate |
482 | * for copy_friendlist. */ | 482 | * for copy_chatlist. */ |
483 | uint32_t tox_count_chatlist(Tox *tox) | 483 | uint32_t tox_count_chatlist(Tox *tox) |
484 | { | 484 | { |
485 | Messenger *m = tox; | 485 | Messenger *m = tox; |
diff --git a/toxcore/tox.h b/toxcore/tox.h index 497fa3bc..97fb912a 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -407,7 +407,7 @@ int tox_group_message_send(Tox *tox, int groupnumber, uint8_t *message, uint32_t | |||
407 | 407 | ||
408 | /* Return the number of chats in the instance m. | 408 | /* Return the number of chats in the instance m. |
409 | * You should use this to determine how much memory to allocate | 409 | * You should use this to determine how much memory to allocate |
410 | * for copy_friendlist. */ | 410 | * for copy_chatlist. */ |
411 | uint32_t tox_count_chatlist(Tox *tox); | 411 | uint32_t tox_count_chatlist(Tox *tox); |
412 | 412 | ||
413 | /* Copy a list of valid chat IDs into the array out_list. | 413 | /* Copy a list of valid chat IDs into the array out_list. |