Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
jami-daemon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
138
Issues
138
List
Boards
Labels
Service Desk
Milestones
Iterations
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
savoirfairelinux
jami-daemon
Commits
ea53b277
Commit
ea53b277
authored
Oct 07, 2020
by
Adrien Béraud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sip utils: use length for strerror
Change-Id: I5fca86eb620043998e7a41a2b7bca12642567376
parent
dbda72c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/sip/sip_utils.cpp
src/sip/sip_utils.cpp
+2
-2
No files found.
src/sip/sip_utils.cpp
View file @
ea53b277
...
...
@@ -231,8 +231,8 @@ std::string
sip_strerror
(
pj_status_t
code
)
{
char
err_msg
[
PJ_ERR_MSG_SIZE
];
pj_strerror
(
code
,
err_msg
,
sizeof
err_msg
);
return
std
::
string
{
err_msg
};
auto
ret
=
pj_strerror
(
code
,
err_msg
,
sizeof
err_msg
);
return
std
::
string
{
ret
.
ptr
,
ret
.
ptr
+
ret
.
slen
};
}
void
...
...
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