Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Main
Synchronet
Commits
54be36ce
Commit
54be36ce
authored
2 years ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Minor beautifications
parent
07b42187
No related branches found
No related tags found
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Pipeline
#4019
passed
2 years ago
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sbbs3/scfg/scfgsrvr.c
+3
-3
3 additions, 3 deletions
src/sbbs3/scfg/scfgsrvr.c
src/sbbs3/scfg/scfgsys.c
+6
-5
6 additions, 5 deletions
src/sbbs3/scfg/scfgsys.c
with
9 additions
and
8 deletions
src/sbbs3/scfg/scfgsrvr.c
+
3
−
3
View file @
54be36ce
...
...
@@ -720,7 +720,7 @@ static void websrvr_cfg(void)
break
;
case
14
:
SAFECOPY
(
str
,
maximum
(
startup
.
max_clients
));
if
(
uifc
.
input
(
WIN_MID
|
WIN_SAV
,
0
,
0
,
"Maximum Client Count (0=
u
nlimited)"
,
str
,
10
,
K_EDIT
)
>
0
)
if
(
uifc
.
input
(
WIN_MID
|
WIN_SAV
,
0
,
0
,
"Maximum Client Count (0=
U
nlimited)"
,
str
,
10
,
K_EDIT
)
>
0
)
startup
.
max_clients
=
atoi
(
str
);
break
;
case
15
:
...
...
@@ -950,7 +950,7 @@ static void ftpsrvr_cfg(void)
break
;
case
9
:
SAFECOPY
(
str
,
maximum
(
startup
.
max_clients
));
if
(
uifc
.
input
(
WIN_MID
|
WIN_SAV
,
0
,
0
,
"Maximum Client Count (0=
u
nlimited)"
,
str
,
10
,
K_EDIT
)
>
0
)
if
(
uifc
.
input
(
WIN_MID
|
WIN_SAV
,
0
,
0
,
"Maximum Client Count (0=
U
nlimited)"
,
str
,
10
,
K_EDIT
)
>
0
)
startup
.
max_clients
=
atoi
(
str
);
break
;
case
10
:
...
...
@@ -1289,7 +1289,7 @@ static void mailsrvr_cfg(void)
break
;
case
13
:
SAFECOPY
(
str
,
maximum
(
startup
.
max_clients
));
if
(
uifc
.
input
(
WIN_MID
|
WIN_SAV
,
0
,
0
,
"Maximum Client Count (0=
u
nlimited)"
,
str
,
10
,
K_EDIT
)
>
0
)
if
(
uifc
.
input
(
WIN_MID
|
WIN_SAV
,
0
,
0
,
"Maximum Client Count (0=
U
nlimited)"
,
str
,
10
,
K_EDIT
)
>
0
)
startup
.
max_clients
=
atoi
(
str
);
break
;
case
14
:
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/scfg/scfgsys.c
+
6
−
5
View file @
54be36ce
...
...
@@ -1447,6 +1447,7 @@ void cfg_notify(void)
else
SAFECOPY
(
str
,
"Nobody"
);
sprintf
(
opt
[
i
++
],
"%-23.23s%s"
,
"Error Notifications"
,
str
);
if
(
cfg
.
erruser
)
sprintf
(
opt
[
i
++
],
"%-23.23s%s"
,
"Error Level"
,
errLevelStringList
[
cfg
.
errlevel
]);
opt
[
i
][
0
]
=
'\0'
;
uifc
.
helpbuf
=
...
...
@@ -1915,7 +1916,7 @@ void sys_cfg(void)
sprintf
(
opt
[
i
++
],
"%-27.27s%hu"
,
"Days of New Messages"
,
cfg
.
new_msgscan_init
);
sprintf
(
opt
[
i
++
],
"%-27.27s%s"
,
"Gender Options"
,
cfg
.
new_genders
);
strcpy
(
opt
[
i
++
],
"Default Toggles..."
);
strcpy
(
opt
[
i
++
],
"QWK Packet Setting..."
);
strcpy
(
opt
[
i
++
],
"QWK Packet Setting
s
..."
);
opt
[
i
][
0
]
=
0
;
uifc
.
helpbuf
=
"`New User Values:`
\n
"
...
...
@@ -2734,7 +2735,7 @@ void sys_cfg(void)
"Oldest rotated log files are automatically deleted to save disk space.
\n
"
;
byte_count_to_str
(
cfg
.
max_log_size
,
str
,
sizeof
(
str
));
if
(
uifc
.
input
(
WIN_MID
|
WIN_SAV
,
0
,
0
,
"Maximum Log File Size (in bytes, 0=
u
nlimited)"
,
str
,
10
,
K_EDIT
|
K_UPPER
)
>
0
)
{
if
(
uifc
.
input
(
WIN_MID
|
WIN_SAV
,
0
,
0
,
"Maximum Log File Size (in bytes, 0=
U
nlimited)"
,
str
,
10
,
K_EDIT
|
K_UPPER
)
>
0
)
{
cfg
.
max_log_size
=
(
uint32_t
)
parse_byte_count
(
str
,
1
);
if
(
cfg
.
max_log_size
)
{
SAFEPRINTF
(
str
,
"%u"
,
cfg
.
max_logs_kept
);
...
...
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