Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
be414d2b
Commit
be414d2b
authored
Mar 01, 2022
by
Rob Swindell
💬
Browse files
Eliminate unnecessary save/restore
resolved CID 350321
parent
b9e78bdf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/sbbs3/scfg/scfgnet.c
src/sbbs3/scfg/scfgnet.c
+2
-4
No files found.
src/sbbs3/scfg/scfgnet.c
View file @
be414d2b
...
...
@@ -922,10 +922,8 @@ void qhub_edit(int num)
"This is the QWK System ID of this hub. It is used for incoming and
\n
"
"outgoing network packets and must be accurate.
\n
"
;
strcpy
(
str
,
cfg
.
qhub
[
num
]
->
id
);
/* save */
if
(
!
uifc
.
input
(
WIN_MID
|
WIN_SAV
,
0
,
0
,
"QWK Network Hub System ID"
,
cfg
.
qhub
[
num
]
->
id
,
LEN_QWKID
,
K_UPPER
|
K_EDIT
))
strcpy
(
cfg
.
qhub
[
num
]
->
id
,
str
);
uifc
.
input
(
WIN_MID
|
WIN_SAV
,
0
,
0
,
"QWK Network Hub System ID"
,
cfg
.
qhub
[
num
]
->
id
,
LEN_QWKID
,
K_UPPER
|
K_EDIT
);
break
;
case
__COUNTER__
:
uifc
.
helpbuf
=
...
...
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