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
f41d2475
Commit
f41d2475
authored
3 years ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Remove now-unneeded str2pas() function
Functionality replaced with Pascal::String
parent
0a572ad2
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Pipeline
#2875
passed
3 years ago
Stage: build
Changes
1
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sbbs3/xtrn_sec.cpp
+0
-12
0 additions, 12 deletions
src/sbbs3/xtrn_sec.cpp
with
0 additions
and
12 deletions
src/sbbs3/xtrn_sec.cpp
+
0
−
12
View file @
f41d2475
...
@@ -40,18 +40,6 @@ int sbbs_t::xtrn_sec(const char* section)
...
@@ -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
"
;
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) */
/* Convert from unix time (seconds since 1/70) to julian (days since 1900) */
/****************************************************************************/
/****************************************************************************/
...
...
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