Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
23d95cfe
Commit
23d95cfe
authored
Sep 11, 2013
by
Tristan Matthews
Browse files
* #29736: presence: removed dead code
parent
a532ebbe
Changes
2
Hide whitespace changes
Inline
Side-by-side
daemon/src/sip/sippresence.cpp
View file @
23d95cfe
...
...
@@ -222,7 +222,6 @@ void SIPPresence::notifyPresSubServer() {
s
->
notify
();
}
void
SIPPresence
::
lock
()
{
pj_mutex_lock
(
mutex_
);
...
...
@@ -237,22 +236,6 @@ void SIPPresence::unlock()
pj_mutex_unlock
(
mutex_
);
}
bool
SIPPresence
::
tryLock
()
{
pj_status_t
status
;
status
=
pj_mutex_trylock
(
mutex_
);
if
(
status
==
PJ_SUCCESS
)
{
mutex_owner_
=
pj_thread_this
();
++
mutex_nesting_level_
;
}
return
status
;
}
bool
SIPPresence
::
isLocked
()
{
return
mutex_owner_
==
pj_thread_this
();
}
void
SIPPresence
::
fillDoc
(
pjsip_tx_data
*
tdata
,
const
pres_msg_data
*
msg_data
)
{
...
...
daemon/src/sip/sippresence.h
View file @
23d95cfe
...
...
@@ -209,13 +209,8 @@ public:
return
pres_sub_client_list_
;
}
/**
* Lock methods
*/
void
lock
();
void
unlock
();
bool
tryLock
();
bool
isLocked
();
pjsip_pres_status
pres_status_data
;
/**< Presence Data.*/
pjsip_publishc
*
publish_sess
;
/**< Client publication session.*/
...
...
Write
Preview
Supports
Markdown
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