Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblinphone
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
10
Issues
10
List
Board
Labels
Milestones
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
liblinphone
Commits
2cd08a54
Commit
2cd08a54
authored
May 15, 2018
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build with GCC 4.8.
parent
be2f7b33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sal.cpp
src/sal/sal.cpp
+3
-3
No files found.
src/sal/sal.cpp
View file @
2cd08a54
...
@@ -589,8 +589,8 @@ void Sal::addSupportedTag (const string &tag) {
...
@@ -589,8 +589,8 @@ void Sal::addSupportedTag (const string &tag) {
}
}
void
Sal
::
removeSupportedTag
(
const
string
&
tag
)
{
void
Sal
::
removeSupportedTag
(
const
string
&
tag
)
{
auto
it
=
find
(
mSupportedTags
.
cbegin
(),
mSupportedTags
.
c
end
(),
tag
);
auto
it
=
find
(
mSupportedTags
.
begin
(),
mSupportedTags
.
end
(),
tag
);
if
(
it
!=
mSupportedTags
.
c
end
())
{
if
(
it
!=
mSupportedTags
.
end
())
{
mSupportedTags
.
erase
(
it
);
mSupportedTags
.
erase
(
it
);
makeSupportedHeader
();
makeSupportedHeader
();
}
}
...
@@ -614,7 +614,7 @@ void Sal::setUserAgent (const string &value) {
...
@@ -614,7 +614,7 @@ void Sal::setUserAgent (const string &value) {
const
string
&
Sal
::
getUserAgent
()
const
{
const
string
&
Sal
::
getUserAgent
()
const
{
char
userAgent
[
256
];
char
userAgent
[
256
];
belle_sip_header_user_agent_get_products_as_string
(
mUserAgentHeader
,
userAgent
,
sizeof
(
userAgent
)
-
1
);
belle_sip_header_user_agent_get_products_as_string
(
mUserAgentHeader
,
userAgent
,
(
unsigned
int
)
sizeof
(
userAgent
)
-
1
);
mUserAgent
=
userAgent
;
mUserAgent
=
userAgent
;
return
mUserAgent
;
return
mUserAgent
;
}
}
...
...
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