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
bbc65c79
Commit
bbc65c79
authored
Jan 15, 2014
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
put_deleve_auth_file -> dav_auth_file. added placeholders for user
parent
bac0f75d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
main.c
build/main.c
+4
-2
No files found.
build/main.c
View file @
bbc65c79
...
...
@@ -75,6 +75,8 @@ static int exit_flag;
static
char
server_name
[
40
];
// Set by init_server_name()
static
char
config_file
[
PATH_MAX
];
// Set by process_command_line_arguments()
static
struct
mg_server
*
server
;
// Set by start_mongoose()
static
const
char
static_user_name
[
64
]
=
"#__u__#"
;
static
const
char
static_user_email
[
64
]
=
"#__e__#"
;
#if !defined(CONFIG_FILE)
#define CONFIG_FILE "mongoose.conf"
...
...
@@ -606,7 +608,7 @@ static int is_boolean_option(const char *option_name) {
static
int
is_filename_option
(
const
char
*
option_name
)
{
return
!
strcmp
(
option_name
,
"cgi_interpreter"
)
||
!
strcmp
(
option_name
,
"global_auth_file"
)
||
!
strcmp
(
option_name
,
"
put_delete
_auth_file"
)
||
!
strcmp
(
option_name
,
"
dav
_auth_file"
)
||
!
strcmp
(
option_name
,
"access_log_file"
)
||
!
strcmp
(
option_name
,
"error_log_file"
)
||
!
strcmp
(
option_name
,
"ssl_certificate"
);
...
...
@@ -852,7 +854,7 @@ static void show_settings_dialog() {
WIDTH
-
140
,
y
,
65
,
12
,
"Reset to defaults"
);
add_control
(
&
p
,
dia
,
0x82
,
ID_STATIC
,
WS_CHILD
|
WS_VISIBLE
|
WS_DISABLED
,
5
,
y
,
180
,
12
,
s
erv
er_name
);
5
,
y
,
180
,
12
,
s
tatic_us
er_name
);
dia
->
cy
=
((
nelems
+
1
)
/
2
+
1
)
*
HEIGHT
+
30
;
DialogBoxIndirectParam
(
NULL
,
dia
,
NULL
,
DlgProc
,
(
LPARAM
)
NULL
);
...
...
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