From 879bb3f619d2368e26249ab9da356e827e35d17e Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 18 Sep 2013 16:03:21 +0200 Subject: [PATCH] Fix typos. --- coreapi/linphonepresence.h | 2 +- coreapi/presence.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coreapi/linphonepresence.h b/coreapi/linphonepresence.h index 763cc0cd8..24e91fd74 100644 --- a/coreapi/linphonepresence.h +++ b/coreapi/linphonepresence.h @@ -624,7 +624,7 @@ LINPHONE_PUBLIC int linphone_presence_person_add_activities_note(LinphonePresenc * @param[in] person The #LinphonePresencePerson object for which to clear the activities notes. * @return 0 if successful, a value < 0 in case of error. */ -LINPHONE_PUBLIC int linphone_presence_person_clear_activites_notes(LinphonePresencePerson *person); +LINPHONE_PUBLIC int linphone_presence_person_clear_activities_notes(LinphonePresencePerson *person); /***************************************************************************** diff --git a/coreapi/presence.c b/coreapi/presence.c index b4f057826..2d23198c6 100644 --- a/coreapi/presence.c +++ b/coreapi/presence.c @@ -794,7 +794,7 @@ LinphonePresenceNote * linphone_presence_service_get_nth_note(const LinphonePres return (LinphonePresenceNote *)ms_list_nth_data(service->notes, idx); } -int linphone_presence_service_add_person(LinphonePresenceService *service, LinphonePresenceNote *note) { +int linphone_presence_service_add_note(LinphonePresenceService *service, LinphonePresenceNote *note) { if ((service == NULL) || (note == NULL)) return -1; service->notes = ms_list_append(service->notes, note); return 0;