Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblinphone
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
10
Issues
10
List
Board
Labels
Milestones
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
liblinphone
Commits
a620665e
Commit
a620665e
authored
Jan 10, 2018
by
Ronan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(presence_server_tester): avoid segfault
parent
239da4c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
presence_server_tester.c
tester/presence_server_tester.c
+1
-0
No files found.
tester/presence_server_tester.c
View file @
a620665e
...
@@ -428,6 +428,7 @@ static void test_presence_list_base(bool_t enable_compression) {
...
@@ -428,6 +428,7 @@ static void test_presence_list_base(bool_t enable_compression) {
BC_ASSERT_EQUAL
(
laure
->
stat
.
number_of_NotifyPresenceReceived
,
2
,
int
,
"%d"
);
BC_ASSERT_EQUAL
(
laure
->
stat
.
number_of_NotifyPresenceReceived
,
2
,
int
,
"%d"
);
BC_ASSERT_EQUAL
(
linphone_friend_list_get_expected_notification_version
(
linphone_core_get_default_friend_list
(
laure
->
lc
)),
1
,
int
,
"%d"
);
BC_ASSERT_EQUAL
(
linphone_friend_list_get_expected_notification_version
(
linphone_core_get_default_friend_list
(
laure
->
lc
)),
1
,
int
,
"%d"
);
lf
=
linphone_friend_list_find_friend_by_uri
(
linphone_core_get_default_friend_list
(
laure
->
lc
),
marie_identity
);
lf
=
linphone_friend_list_find_friend_by_uri
(
linphone_core_get_default_friend_list
(
laure
->
lc
),
marie_identity
);
if
(
!
BC_ASSERT_PTR_NOT_NULL
(
lf
))
goto
end
;
BC_ASSERT_EQUAL
(
linphone_friend_get_status
(
lf
),
LinphoneStatusBusy
,
int
,
"%d"
);
BC_ASSERT_EQUAL
(
linphone_friend_get_status
(
lf
),
LinphoneStatusBusy
,
int
,
"%d"
);
if
(
!
BC_ASSERT_TRUE
(
linphone_friend_is_presence_received
(
lf
)))
goto
end
;
if
(
!
BC_ASSERT_TRUE
(
linphone_friend_is_presence_received
(
lf
)))
goto
end
;
lf
=
linphone_friend_list_find_friend_by_uri
(
linphone_core_get_default_friend_list
(
laure
->
lc
),
pauline_identity
);
lf
=
linphone_friend_list_find_friend_by_uri
(
linphone_core_get_default_friend_list
(
laure
->
lc
),
pauline_identity
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment