mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Fix ISO C90 violation
This commit is contained in:
parent
9ca70edeb4
commit
8b6e955fb5
1 changed files with 2 additions and 1 deletions
|
|
@ -651,6 +651,7 @@ static void long_term_presence_base(const char* addr, bool_t exist, const char*
|
|||
LinphoneFriend* friend2;
|
||||
const LinphonePresenceModel* model;
|
||||
char *presence_contact;
|
||||
int *presence;
|
||||
LinphoneCoreManager *pauline = linphone_core_manager_new(transport_supported(LinphoneTransportTls) ? "pauline_rc" : "pauline_tcp_rc");
|
||||
linphone_core_set_user_agent(pauline->lc, "full-presence-support", NULL);
|
||||
|
||||
|
|
@ -660,7 +661,7 @@ static void long_term_presence_base(const char* addr, bool_t exist, const char*
|
|||
linphone_friend_done(friend2);
|
||||
linphone_core_add_friend(pauline->lc,friend2);
|
||||
|
||||
int *presence = exist ? &pauline->stat.number_of_LinphonePresenceActivityOnline : &pauline->stat.number_of_LinphonePresenceActivityOffline;
|
||||
presence = exist ? &pauline->stat.number_of_LinphonePresenceActivityOnline : &pauline->stat.number_of_LinphonePresenceActivityOffline;
|
||||
BC_ASSERT_TRUE(wait_for(pauline->lc,NULL,presence,1));
|
||||
BC_ASSERT_EQUAL(*presence, 1, int, "%d");
|
||||
model = linphone_friend_get_presence_model(friend2);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue