Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in / Register
Toggle navigation
J
jami-daemon
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
118
Issues
118
List
Boards
Labels
Milestones
Security & Compliance
Security & Compliance
Dependency List
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
savoirfairelinux
jami-daemon
Commits
543dc1b7
Commit
543dc1b7
authored
Aug 06, 2012
by
Tristan Matthews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* #9980: SIP: only cancel active keepAliveTimers
parent
bbb06c9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
daemon/src/sip/sipaccount.cpp
daemon/src/sip/sipaccount.cpp
+7
-6
No files found.
daemon/src/sip/sipaccount.cpp
View file @
543dc1b7
...
...
@@ -702,12 +702,13 @@ void SIPAccount::startKeepAliveTimer() {
link_
->
registerKeepAliveTimer
(
keepAliveTimer_
,
keepAliveDelay_
);
}
void
SIPAccount
::
stopKeepAliveTimer
()
{
DEBUG
(
"Stop keep alive timer %d for account %s"
,
keepAliveTimer_
.
id
,
getAccountID
().
c_str
());
keepAliveTimerActive_
=
false
;
link_
->
cancelKeepAliveTimer
(
keepAliveTimer_
);
void
SIPAccount
::
stopKeepAliveTimer
()
{
if
(
keepAliveTimerActive_
)
{
DEBUG
(
"Stop keep alive timer %d for account %s"
,
keepAliveTimer_
.
id
,
getAccountID
().
c_str
());
keepAliveTimerActive_
=
false
;
link_
->
cancelKeepAliveTimer
(
keepAliveTimer_
);
}
}
pjsip_ssl_method
SIPAccount
::
sslMethodStringToPjEnum
(
const
std
::
string
&
method
)
...
...
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