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
Compare Revisions
0a572ad2157b542c0f9abe782c40a50582b26578...f41d2475beeb7d1fc325c99119ac54ece401e90d
Commits (1)
Remove now-unneeded str2pas() function
· f41d2475
Rob Swindell
authored
Mar 11, 2022
Functionality replaced with Pascal::String
f41d2475
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) */
/****************************************************************************/
...
...