diff options
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r-- | toxcore/tox.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c index 2099a26f..b70be7a3 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -2070,7 +2070,8 @@ Tox_Conference_Type tox_conference_get_type(const Tox *tox, uint32_t conference_ | |||
2070 | return (Tox_Conference_Type)ret; | 2070 | return (Tox_Conference_Type)ret; |
2071 | } | 2071 | } |
2072 | 2072 | ||
2073 | bool tox_conference_get_id(const Tox *tox, uint32_t conference_number, uint8_t *id /* TOX_CONFERENCE_ID_SIZE bytes */) | 2073 | /* id is TOX_CONFERENCE_ID_SIZE bytes */ |
2074 | bool tox_conference_get_id(const Tox *tox, uint32_t conference_number, uint8_t *id) | ||
2074 | { | 2075 | { |
2075 | lock(tox); | 2076 | lock(tox); |
2076 | bool ret = conference_get_id(tox->m->conferences_object, conference_number, id); | 2077 | bool ret = conference_get_id(tox->m->conferences_object, conference_number, id); |
@@ -2079,7 +2080,8 @@ bool tox_conference_get_id(const Tox *tox, uint32_t conference_number, uint8_t * | |||
2079 | } | 2080 | } |
2080 | 2081 | ||
2081 | // TODO(iphydf): Delete in 0.3.0. | 2082 | // TODO(iphydf): Delete in 0.3.0. |
2082 | bool tox_conference_get_uid(const Tox *tox, uint32_t conference_number, uint8_t *uid /* TOX_CONFERENCE_ID_SIZE bytes */) | 2083 | /* uid is TOX_CONFERENCE_ID_SIZE bytes */ |
2084 | bool tox_conference_get_uid(const Tox *tox, uint32_t conference_number, uint8_t *uid) | ||
2083 | { | 2085 | { |
2084 | return tox_conference_get_id(tox, conference_number, uid); | 2086 | return tox_conference_get_id(tox, conference_number, uid); |
2085 | } | 2087 | } |