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
8635d798
Commit
8635d798
authored
3 years ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
A little constification.
parent
fc34453e
No related branches found
No related tags found
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sbbs3/logfile.cpp
+1
-1
1 addition, 1 deletion
src/sbbs3/logfile.cpp
src/sbbs3/sbbs.h
+2
-2
2 additions, 2 deletions
src/sbbs3/sbbs.h
with
3 additions
and
3 deletions
src/sbbs3/logfile.cpp
+
1
−
1
View file @
8635d798
...
...
@@ -57,7 +57,7 @@ extern "C" BOOL hacklog(scfg_t* cfg, const char* prot, const char* user, const c
return
true
;
}
BOOL
sbbs_t
::
hacklog
(
char
*
prot
,
char
*
text
)
BOOL
sbbs_t
::
hacklog
(
const
char
*
prot
,
const
char
*
text
)
{
return
::
hacklog
(
&
cfg
,
prot
,
useron
.
alias
,
text
,
client_name
,
&
client_addr
);
}
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/sbbs.h
+
2
−
2
View file @
8635d798
...
...
@@ -1040,7 +1040,7 @@ public:
bool
removefile
(
smb_t
*
,
file_t
*
);
bool
movefile
(
smb_t
*
,
file_t
*
,
int
newdir
);
char
*
getfilespec
(
char
*
str
);
bool
checkfname
(
char
*
fname
);
bool
checkfname
(
const
char
*
fname
);
bool
addtobatdl
(
file_t
*
);
bool
clearbatdl
(
void
);
bool
clearbatul
(
void
);
...
...
@@ -1099,7 +1099,7 @@ public:
bool
errormsg_inside
;
void
errormsg
(
int
line
,
const
char
*
function
,
const
char
*
source
,
const
char
*
action
,
const
char
*
object
,
long
access
=
0
,
const
char
*
extinfo
=
NULL
);
BOOL
hacklog
(
char
*
prot
,
char
*
text
);
BOOL
hacklog
(
const
char
*
prot
,
const
char
*
text
);
/* qwk.cpp */
ulong
qwkmail_last
;
...
...
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