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
f41d2475
Commit
f41d2475
authored
Mar 11, 2022
by
Rob Swindell
💬
Browse files
Remove now-unneeded str2pas() function
Functionality replaced with Pascal::String
parent
0a572ad2
Pipeline
#2875
passed with stage
in 10 minutes and 41 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
src/sbbs3/xtrn_sec.cpp
src/sbbs3/xtrn_sec.cpp
+0
-12
No files found.
src/sbbs3/xtrn_sec.cpp
View file @
f41d2475
...
...
@@ -40,18 +40,6 @@ int sbbs_t::xtrn_sec(const char* section)
const
char
*
hungupstr
=
"
\1
n
\1
h%s
\1
n hung up on
\1
h%s
\1
n %s
\r\n
"
;
/****************************************************************************/
/* Convert C string to pascal string */
/****************************************************************************/
void
str2pas
(
const
char
*
instr
,
char
*
outstr
)
{
int
i
;
outstr
[
0
]
=
(
char
)
strlen
(
instr
);
for
(
i
=
0
;
i
<
outstr
[
0
];
i
++
)
outstr
[
i
+
1
]
=
instr
[
i
];
}
/****************************************************************************/
/* Convert from unix time (seconds since 1/70) to julian (days since 1900) */
/****************************************************************************/
...
...
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