Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
663e928d
Commit
663e928d
authored
Apr 27, 2017
by
Deomid Ryabkov
Committed by
Cesanta Bot
Apr 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mg_strdup_nul
PUBLISHED_FROM=25bc4d20016bcb71c4e2e4b7be8d2d0566fdfa2e
parent
189cd8c5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mongoose.c
mongoose.c
+2
-2
No files found.
mongoose.c
View file @
663e928d
...
...
@@ -1406,12 +1406,12 @@ static struct mg_str mg_strdup_common(const struct mg_str s,
struct
mg_str
mg_strdup
(
const
struct
mg_str
s
)
WEAK
;
struct
mg_str
mg_strdup
(
const
struct
mg_str
s
)
{
return
mg_strdup_common
(
s
,
1
/* NUL-terminate */
);
return
mg_strdup_common
(
s
,
0
/* NUL-terminate */
);
}
struct
mg_str
mg_strdup_nul
(
const
struct
mg_str
s
)
WEAK
;
struct
mg_str
mg_strdup_nul
(
const
struct
mg_str
s
)
{
return
mg_strdup_common
(
s
,
0
/* NUL-terminate */
);
return
mg_strdup_common
(
s
,
1
/* NUL-terminate */
);
}
int
mg_strcmp
(
const
struct
mg_str
str1
,
const
struct
mg_str
str2
)
WEAK
;
...
...
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