From 3f2d815fab4b7f72d9bce7273ecfe823464f304c Mon Sep 17 00:00:00 2001 From: alexandervdm Date: Tue, 3 Dec 2013 14:54:46 +0100 Subject: fix naming inconsistency in tox.h --- toxcore/tox.c | 2 +- toxcore/tox.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'toxcore') diff --git a/toxcore/tox.c b/toxcore/tox.c index bdc110e6..487f2517 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c @@ -222,7 +222,7 @@ int tox_set_status_message(Tox *tox, uint8_t *status, uint16_t length) return m_set_statusmessage(m, status, length); } -int tox_set_userstatus(Tox *tox, TOX_USERSTATUS status) +int tox_set_user_status(Tox *tox, TOX_USERSTATUS status) { Messenger *m = tox; return m_set_userstatus(m, (USERSTATUS)status); diff --git a/toxcore/tox.h b/toxcore/tox.h index 407d7441..ccef8519 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h @@ -247,7 +247,7 @@ int tox_get_name(Tox *tox, int friendnumber, uint8_t *name); * returns -1 on failure. */ int tox_set_status_message(Tox *tox, uint8_t *status, uint16_t length); -int tox_set_userstatus(Tox *tox, TOX_USERSTATUS status); +int tox_set_user_status(Tox *tox, TOX_USERSTATUS status); /* return the length of friendnumber's status message, including null. * Pass it into malloc -- cgit v1.2.3