Skip to content
Snippets Groups Projects
Commit 8635d798 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

A little constification.

parent fc34453e
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -57,7 +57,7 @@ extern "C" BOOL hacklog(scfg_t* cfg, const char* prot, const char* user, const c ...@@ -57,7 +57,7 @@ extern "C" BOOL hacklog(scfg_t* cfg, const char* prot, const char* user, const c
return true; 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); return ::hacklog(&cfg, prot, useron.alias, text, client_name, &client_addr);
} }
......
...@@ -1040,7 +1040,7 @@ public: ...@@ -1040,7 +1040,7 @@ public:
bool removefile(smb_t*, file_t*); bool removefile(smb_t*, file_t*);
bool movefile(smb_t*, file_t*, int newdir); bool movefile(smb_t*, file_t*, int newdir);
char * getfilespec(char *str); char * getfilespec(char *str);
bool checkfname(char *fname); bool checkfname(const char *fname);
bool addtobatdl(file_t*); bool addtobatdl(file_t*);
bool clearbatdl(void); bool clearbatdl(void);
bool clearbatul(void); bool clearbatul(void);
...@@ -1099,7 +1099,7 @@ public: ...@@ -1099,7 +1099,7 @@ public:
bool errormsg_inside; bool errormsg_inside;
void errormsg(int line, const char* function, const char *source, const char* action, const char *object void errormsg(int line, const char* function, const char *source, const char* action, const char *object
,long access=0, const char *extinfo=NULL); ,long access=0, const char *extinfo=NULL);
BOOL hacklog(char* prot, char* text); BOOL hacklog(const char* prot, const char* text);
/* qwk.cpp */ /* qwk.cpp */
ulong qwkmail_last; ulong qwkmail_last;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment