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
8cb40158
Commit
8cb40158
authored
Aug 27, 2013
by
Tristan Matthews
Browse files
sdp: fix inverted error message logic
parent
b8789053
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemon/src/sip/sdp.cpp
View file @
8cb40158
...
@@ -344,7 +344,7 @@ Sdp::setPublishedIP(const std::string &ip_addr)
...
@@ -344,7 +344,7 @@ Sdp::setPublishedIP(const std::string &ip_addr)
if
(
localSession_
)
{
if
(
localSession_
)
{
localSession_
->
origin
.
addr
=
pj_str
((
char
*
)
publishedIpAddr_
.
c_str
());
localSession_
->
origin
.
addr
=
pj_str
((
char
*
)
publishedIpAddr_
.
c_str
());
localSession_
->
conn
->
addr
=
localSession_
->
origin
.
addr
;
localSession_
->
conn
->
addr
=
localSession_
->
origin
.
addr
;
if
(
not
pjmedia_sdp_validate
(
localSession_
))
if
(
pjmedia_sdp_validate
(
localSession_
)
!=
PJ_SUCCESS
)
ERROR
(
"Could not validate SDP"
);
ERROR
(
"Could not validate SDP"
);
}
}
}
}
...
...
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