Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
jami-daemon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
138
Issues
138
List
Boards
Labels
Service Desk
Milestones
Iterations
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
savoirfairelinux
jami-daemon
Commits
60369a23
Unverified
Commit
60369a23
authored
Oct 14, 2020
by
Sébastien Blin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sipaccount: let pjsip handle pointer
Change-Id: I120fbac7f5bbcfbb7341b903741c04045759f52b
parent
3c776c9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/sip/sipaccount.cpp
src/sip/sipaccount.cpp
+4
-3
No files found.
src/sip/sipaccount.cpp
View file @
60369a23
...
...
@@ -2242,16 +2242,17 @@ SIPAccount::onComplete(void* token, pjsip_event* event)
cseq_hdr
->
cseq
+=
1
;
// Resend request
ctx
*
token_ptr
=
c
.
release
();
auto
to
=
c
->
to
;
auto
id
=
c
->
id
;
status
=
pjsip_endpt_send_request
(
acc
->
link_
.
getEndpoint
(),
new_request
,
-
1
,
token_ptr
,
c
.
release
()
,
&
onComplete
);
if
(
status
!=
PJ_SUCCESS
)
{
JAMI_ERR
(
"Unable to send request: %s"
,
sip_utils
::
sip_strerror
(
status
).
c_str
());
acc
->
messageEngine_
.
onMessageSent
(
to
ken_ptr
->
to
,
token_ptr
->
id
,
false
);
acc
->
messageEngine_
.
onMessageSent
(
to
,
id
,
false
);
}
return
;
}
else
{
...
...
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