Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
mongoose
Commits
98c99279
Commit
98c99279
authored
Jul 09, 2018
by
Deomid Ryabkov
Committed by
Cesanta Bot
Jul 09, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings on newer versions of GCC
PUBLISHED_FROM=f1d25145446057fed9e8d634ca637364ca43a5e8
parent
cdb8d7b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mongoose.c
mongoose.c
+1
-1
mg_http.c
src/mg_http.c
+1
-1
No files found.
mongoose.c
View file @
98c99279
...
...
@@ -7604,7 +7604,7 @@ static void mg_scan_directory(struct mg_connection *nc, const char *dir,
const
struct
mg_serve_http_opts
*
opts
,
void
(
*
func
)(
struct
mg_connection
*
,
const
char
*
,
cs_stat_t
*
))
{
char
path
[
MG_MAX_PATH
];
char
path
[
MG_MAX_PATH
+
1
];
cs_stat_t
st
;
struct
dirent
*
dp
;
DIR
*
dirp
;
...
...
src/mg_http.c
View file @
98c99279
...
...
@@ -2026,7 +2026,7 @@ static void mg_scan_directory(struct mg_connection *nc, const char *dir,
const
struct
mg_serve_http_opts
*
opts
,
void
(
*
func
)(
struct
mg_connection
*
,
const
char
*
,
cs_stat_t
*
))
{
char
path
[
MG_MAX_PATH
];
char
path
[
MG_MAX_PATH
+
1
];
cs_stat_t
st
;
struct
dirent
*
dp
;
DIR
*
dirp
;
...
...
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