Skip to content
Snippets Groups Projects
Commit 56138fb7 authored by rswindell's avatar rswindell
Browse files

Resolve warning: deprecated conversion from string constant to æchar*Æ

parent d4db3f4a
No related branches found
No related tags found
No related merge requests found
...@@ -2570,8 +2570,8 @@ BOOL DLLCALL is_download_free(scfg_t* cfg, uint dirnum, user_t* user, client_t* ...@@ -2570,8 +2570,8 @@ BOOL DLLCALL is_download_free(scfg_t* cfg, uint dirnum, user_t* user, client_t*
/* Add an IP address (with comment) to the IP filter/trashcan file */ /* Add an IP address (with comment) to the IP filter/trashcan file */
/* ToDo: Move somewhere more appropriate (filter.c?) */ /* ToDo: Move somewhere more appropriate (filter.c?) */
/****************************************************************************/ /****************************************************************************/
BOOL DLLCALL filter_ip(scfg_t* cfg, char* prot, char* reason, char* host BOOL DLLCALL filter_ip(scfg_t* cfg, const char* prot, const char* reason, const char* host
,char* ip_addr, char* username, char* fname) ,const char* ip_addr, const char* username, const char* fname)
{ {
char ip_can[MAX_PATH+1]; char ip_can[MAX_PATH+1];
char tstr[64]; char tstr[64];
......
...@@ -112,7 +112,8 @@ DLLEXPORT BOOL DLLCALL can_user_read_sub(scfg_t* cfg, uint subnum, user_t* user, ...@@ -112,7 +112,8 @@ DLLEXPORT BOOL DLLCALL can_user_read_sub(scfg_t* cfg, uint subnum, user_t* user,
DLLEXPORT BOOL DLLCALL can_user_post(scfg_t* cfg, uint subnum, user_t* user, client_t* client, uint* reason); DLLEXPORT BOOL DLLCALL can_user_post(scfg_t* cfg, uint subnum, user_t* user, client_t* client, uint* reason);
DLLEXPORT BOOL DLLCALL is_user_subop(scfg_t* cfg, uint subnum, user_t* user, client_t* client); DLLEXPORT BOOL DLLCALL is_user_subop(scfg_t* cfg, uint subnum, user_t* user, client_t* client);
DLLEXPORT BOOL DLLCALL is_download_free(scfg_t* cfg, uint dirnum, user_t* user, client_t* client); DLLEXPORT BOOL DLLCALL is_download_free(scfg_t* cfg, uint dirnum, user_t* user, client_t* client);
DLLEXPORT BOOL DLLCALL filter_ip(scfg_t* cfg, char* prot, char* reason, char* host, char* ip_addr, char* username, char* fname); DLLEXPORT BOOL DLLCALL filter_ip(scfg_t* cfg, const char* prot, const char* reason, const char* host
,const char* ip_addr, const char* username, const char* fname);
/* New atomic numeric user field adjustment functions: */ /* New atomic numeric user field adjustment functions: */
DLLEXPORT BOOL DLLCALL user_posted_msg(scfg_t* cfg, user_t* user, int count); DLLEXPORT BOOL DLLCALL user_posted_msg(scfg_t* cfg, user_t* user, int count);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment