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

More constification of login().

parent 4f072628
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -38,7 +38,7 @@ const char* sbbs_t::parse_login(const char* str)
return str;
}
int sbbs_t::login(const char *username, char *pw_prompt, const char* user_pw, const char* sys_pw)
int sbbs_t::login(const char *username, const char *pw_prompt, const char* user_pw, const char* sys_pw)
{
char str[128];
char tmp[512];
......
......@@ -965,7 +965,7 @@ public:
int putnodeext(uint number, char * str);
/* login.ccp */
int login(const char *user_name, char *pw_prompt, const char* user_pw = NULL, const char* sys_pw = NULL);
int login(const char *user_name, const char *pw_prompt, const char* user_pw = NULL, const char* sys_pw = NULL);
void badlogin(const char* user, const char* passwd, const char* protocol=NULL, xp_sockaddr* addr=NULL, bool delay=true);
const char* parse_login(const char*);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment