Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mongoose
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ganil-acq
GANILinux
linux-service
library
mongoose
Commits
bbc65c79
Commit
bbc65c79
authored
11 years ago
by
Sergey Lyubka
Browse files
Options
Downloads
Patches
Plain Diff
put_deleve_auth_file -> dav_auth_file. added placeholders for user
parent
bac0f75d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/main.c
+4
-2
4 additions, 2 deletions
build/main.c
with
4 additions
and
2 deletions
build/main.c
+
4
−
2
View file @
bbc65c79
...
@@ -75,6 +75,8 @@ static int exit_flag;
...
@@ -75,6 +75,8 @@ static int exit_flag;
static
char
server_name
[
40
];
// Set by init_server_name()
static
char
server_name
[
40
];
// Set by init_server_name()
static
char
config_file
[
PATH_MAX
];
// Set by process_command_line_arguments()
static
char
config_file
[
PATH_MAX
];
// Set by process_command_line_arguments()
static
struct
mg_server
*
server
;
// Set by start_mongoose()
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)
#if !defined(CONFIG_FILE)
#define CONFIG_FILE "mongoose.conf"
#define CONFIG_FILE "mongoose.conf"
...
@@ -606,7 +608,7 @@ static int is_boolean_option(const char *option_name) {
...
@@ -606,7 +608,7 @@ static int is_boolean_option(const char *option_name) {
static
int
is_filename_option
(
const
char
*
option_name
)
{
static
int
is_filename_option
(
const
char
*
option_name
)
{
return
!
strcmp
(
option_name
,
"cgi_interpreter"
)
||
return
!
strcmp
(
option_name
,
"cgi_interpreter"
)
||
!
strcmp
(
option_name
,
"global_auth_file"
)
||
!
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
,
"access_log_file"
)
||
!
strcmp
(
option_name
,
"error_log_file"
)
||
!
strcmp
(
option_name
,
"error_log_file"
)
||
!
strcmp
(
option_name
,
"ssl_certificate"
);
!
strcmp
(
option_name
,
"ssl_certificate"
);
...
@@ -852,7 +854,7 @@ static void show_settings_dialog() {
...
@@ -852,7 +854,7 @@ static void show_settings_dialog() {
WIDTH
-
140
,
y
,
65
,
12
,
"Reset to defaults"
);
WIDTH
-
140
,
y
,
65
,
12
,
"Reset to defaults"
);
add_control
(
&
p
,
dia
,
0x82
,
ID_STATIC
,
add_control
(
&
p
,
dia
,
0x82
,
ID_STATIC
,
WS_CHILD
|
WS_VISIBLE
|
WS_DISABLED
,
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
;
dia
->
cy
=
((
nelems
+
1
)
/
2
+
1
)
*
HEIGHT
+
30
;
DialogBoxIndirectParam
(
NULL
,
dia
,
NULL
,
DlgProc
,
(
LPARAM
)
NULL
);
DialogBoxIndirectParam
(
NULL
,
dia
,
NULL
,
DlgProc
,
(
LPARAM
)
NULL
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment