From 580c4a60df71b823f5ccd323758511dabff41d59 Mon Sep 17 00:00:00 2001 From: Imperative Date: Wed, 26 Nov 2014 00:19:57 +0100 Subject: [PATCH 1/2] Fixed some fatal spelling mistakes --- toxav/toxav.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toxav/toxav.h b/toxav/toxav.h index acee3f85..8d4db14a 100644 --- a/toxav/toxav.h +++ b/toxav/toxav.h @@ -69,12 +69,12 @@ typedef enum { typedef enum { - av_CallNonExistant = -1, + av_CallNonExistent = -1, av_CallInviting, /* when sending call invite */ av_CallStarting, /* when getting call invite */ av_CallActive, av_CallHold, - av_CallHanged_up + av_CallHungUp } ToxAvCallState; /** From 6cff9ecf73402259559de732a288efea67b65c0d Mon Sep 17 00:00:00 2001 From: Imperative Date: Wed, 26 Nov 2014 00:26:03 +0100 Subject: [PATCH 2/2] Forgot to replace this --- toxav/toxav.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toxav/toxav.c b/toxav/toxav.c index d7de0326..1aa4d6b4 100644 --- a/toxav/toxav.c +++ b/toxav/toxav.c @@ -580,7 +580,7 @@ int toxav_get_peer_id ( ToxAv *av, int32_t call_index, int peer ) ToxAvCallState toxav_get_call_state(ToxAv *av, int32_t call_index) { if ( cii(call_index, av->msi_session) || !av->msi_session->calls[call_index] ) - return av_CallNonExistant; + return av_CallNonExistent; return av->msi_session->calls[call_index]->state;