Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
e2808515
"README.md" did not exist on "b59eddda00143e1ad2c71f3da77dbe6b21577c4f"
Commit
e2808515
authored
13 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
* #9782: sip/sdp: fix emptiness checks
parent
144d6e23
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
daemon/src/sip/sdp.cpp
+1
-1
1 addition, 1 deletion
daemon/src/sip/sdp.cpp
daemon/src/sip/sipaccount.cpp
+1
-1
1 addition, 1 deletion
daemon/src/sip/sipaccount.cpp
with
2 additions
and
2 deletions
daemon/src/sip/sdp.cpp
+
1
−
1
View file @
e2808515
...
...
@@ -207,7 +207,7 @@ void Sdp::setTelephoneEventRtpmap(pjmedia_sdp_media *med)
void
Sdp
::
setLocalMediaCapabilities
(
const
CodecOrder
&
selectedCodecs
)
{
if
(
selectedCodecs
.
size
()
==
0
)
if
(
selectedCodecs
.
empty
()
)
WARN
(
"No selected codec while building local SDP offer"
);
codec_list_
.
clear
();
...
...
This diff is collapsed.
Click to expand it.
daemon/src/sip/sipaccount.cpp
+
1
−
1
View file @
e2808515
...
...
@@ -899,7 +899,7 @@ void SIPAccount::setCredentials(const std::vector<std::map<std::string, std::str
bool
md5HashingEnabled
=
Manager
::
instance
().
preferences
.
getMd5Hash
();
assert
(
creds
.
size
()
>
0
);
// we can not authenticate without credentials
assert
(
not
creds
.
empty
()
);
// we can not authenticate without credentials
credentials_
=
creds
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment