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
ee4ef92c
Commit
ee4ef92c
authored
4 months ago
by
Deucе
Browse files
Options
Downloads
Patches
Plain Diff
Add defaults for first BBS list
parent
fabbad66
No related branches found
No related tags found
No related merge requests found
Pipeline
#8089
passed
4 months ago
Stage: build
Stage: test
Stage: cleanup
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/syncterm/bbslist.c
+8
-2
8 additions, 2 deletions
src/syncterm/bbslist.c
with
8 additions
and
2 deletions
src/syncterm/bbslist.c
+
8
−
2
View file @
ee4ef92c
...
@@ -3015,6 +3015,9 @@ edit_web_lists(void)
...
@@ -3015,6 +3015,9 @@ edit_web_lists(void)
else
if
(
i
&
MSK_INS
)
{
else
if
(
i
&
MSK_INS
)
{
char
tmpn
[
INI_MAX_VALUE_LEN
+
1
];
char
tmpn
[
INI_MAX_VALUE_LEN
+
1
];
char
tmpv
[
INI_MAX_VALUE_LEN
+
1
];
char
tmpv
[
INI_MAX_VALUE_LEN
+
1
];
if
(
count
==
0
)
strlcpy
(
tmpn
,
"SyncTERM BBS List"
,
sizeof
(
tmpn
));
else
tmpn
[
0
]
=
0
;
tmpn
[
0
]
=
0
;
while
(
uifc
.
input
(
WIN_SAV
|
WIN_MID
,
0
,
0
,
"Web List Name"
,
tmpn
,
sizeof
(
tmpn
)
-
1
,
K_EDIT
)
!=
-
1
while
(
uifc
.
input
(
WIN_SAV
|
WIN_MID
,
0
,
0
,
"Web List Name"
,
tmpn
,
sizeof
(
tmpn
)
-
1
,
K_EDIT
)
!=
-
1
&&
tmpn
[
0
])
{
&&
tmpn
[
0
])
{
...
@@ -3023,6 +3026,9 @@ edit_web_lists(void)
...
@@ -3023,6 +3026,9 @@ edit_web_lists(void)
continue
;
continue
;
}
}
else
{
else
{
if
(
count
==
0
)
strlcpy
(
tmpv
,
"http://syncterm.bbsdev.net/syncterm.lst"
,
sizeof
(
tmpn
));
else
tmpv
[
0
]
=
0
;
tmpv
[
0
]
=
0
;
if
(
uifc
.
input
(
WIN_SAV
|
WIN_MID
,
0
,
0
,
"Web List URI"
,
tmpv
,
sizeof
(
tmpv
)
-
1
,
K_EDIT
)
!=
-
1
if
(
uifc
.
input
(
WIN_SAV
|
WIN_MID
,
0
,
0
,
"Web List URI"
,
tmpv
,
sizeof
(
tmpv
)
-
1
,
K_EDIT
)
!=
-
1
&&
tmpv
[
0
])
{
&&
tmpv
[
0
])
{
...
...
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