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
2ac8eca5
Commit
2ac8eca5
authored
Apr 24, 2012
by
Tristan Matthews
Browse files
* #9911: sipvoiplink: fixed "unused variable" warning
parent
2cbee41e
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemon/src/sip/sipvoiplink.cpp
View file @
2ac8eca5
...
...
@@ -515,9 +515,6 @@ void SIPVoIPLink::sendRegister(Account *a)
std
::
string
contact
(
account
->
getContactHeader
());
pj_str_t
pjContact
=
pj_str
((
char
*
)
contact
.
c_str
());
std
::
string
received
(
account
->
getReceivedParameter
());
pj_str_t
pjReceived
=
pj_str
((
char
*
)
received
.
c_str
());
if
(
pjsip_regc_init
(
regc
,
&
pjSrv
,
&
pjFrom
,
&
pjFrom
,
1
,
&
pjContact
,
account
->
getRegistrationExpire
())
!=
PJ_SUCCESS
)
throw
VoipLinkException
(
"Unable to initialize account registration structure"
);
...
...
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