Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 065ebd99 authored by rswindell's avatar rswindell

Address GCC warning: ISO C++ forbids converting a string constant to 'char*'

parent 18bba2e7
......@@ -145,7 +145,7 @@ int sbbs_t::login(char *username, char *pw_prompt, const char* user_pw, const ch
return(LOGIC_TRUE);
}
void sbbs_t::badlogin(char* user, char* passwd, char* protocol, xp_sockaddr* addr, bool delay)
void sbbs_t::badlogin(char* user, char* passwd, const char* protocol, xp_sockaddr* addr, bool delay)
{
char reason[128];
char host_name[128];
......
......@@ -760,7 +760,7 @@ public:
/* login.ccp */
int login(char *user_name, char *pw_prompt, const char* user_pw = NULL, const char* sys_pw = NULL);
void badlogin(char* user, char* passwd, char* protocol=NULL, xp_sockaddr* addr=NULL, bool delay=true);
void badlogin(char* user, char* passwd, const char* protocol=NULL, xp_sockaddr* addr=NULL, bool delay=true);
/* answer.cpp */
bool answer();
......
Markdown is supported
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