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
166bdff7
Commit
166bdff7
authored
24 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Changed userdatdupe prototype to use bool instead of char.
parent
c46fca96
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sbbs3/data_ovl.cpp
+3
-3
3 additions, 3 deletions
src/sbbs3/data_ovl.cpp
src/sbbs3/sbbs.h
+1
-1
1 addition, 1 deletion
src/sbbs3/sbbs.h
with
4 additions
and
4 deletions
src/sbbs3/data_ovl.cpp
+
3
−
3
View file @
166bdff7
...
@@ -180,14 +180,14 @@ void sbbs_t::putmsgptrs()
...
@@ -180,14 +180,14 @@ void sbbs_t::putmsgptrs()
}
}
/****************************************************************************/
/****************************************************************************/
/* Checks for a duplicate user fi
l
ed starting at user record offset */
/* Checks for a duplicate user fie
l
d starting at user record offset */
/* 'offset', reading in 'datlen' chars, comparing to 'str' for each user */
/* 'offset', reading in 'datlen' chars, comparing to 'str' for each user */
/* except 'usernumber' if it is non-zero. Comparison is NOT case sensitive. */
/* except 'usernumber' if it is non-zero. Comparison is NOT case sensitive. */
/* del is
1
if the search is to include
d
deleted/inactive users
0 otherwise
*/
/*
'
del
'
is
true
if the search is to include deleted/inactive users
*/
/* Returns the usernumber of the dupe if found, 0 if not */
/* Returns the usernumber of the dupe if found, 0 if not */
/****************************************************************************/
/****************************************************************************/
uint
sbbs_t
::
userdatdupe
(
uint
usernumber
,
uint
offset
,
uint
datlen
,
char
*
dat
uint
sbbs_t
::
userdatdupe
(
uint
usernumber
,
uint
offset
,
uint
datlen
,
char
*
dat
,
char
del
)
,
bool
del
)
{
{
bputs
(
text
[
SearchingForDupes
]);
bputs
(
text
[
SearchingForDupes
]);
uint
i
=::
userdatdupe
(
&
cfg
,
usernumber
,
offset
,
datlen
,
dat
,
del
);
uint
i
=::
userdatdupe
(
&
cfg
,
usernumber
,
offset
,
datlen
,
dat
,
del
);
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/sbbs.h
+
1
−
1
View file @
166bdff7
...
@@ -332,7 +332,7 @@ public:
...
@@ -332,7 +332,7 @@ public:
void
getusrsubs
(
void
);
void
getusrsubs
(
void
);
void
getusrdirs
(
void
);
void
getusrdirs
(
void
);
uint
userdatdupe
(
uint
usernumber
,
uint
offset
,
uint
datlen
,
char
*
dat
uint
userdatdupe
(
uint
usernumber
,
uint
offset
,
uint
datlen
,
char
*
dat
,
char
del
);
,
bool
del
);
void
gettimeleft
(
void
);
void
gettimeleft
(
void
);
bool
gettimeleft_inside
;
bool
gettimeleft_inside
;
...
...
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