Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
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