Commit 08f123bf authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

More constification of login().

parent 4f072628
......@@ -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*);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment