Constify the value argument to mod_set_param
This commit is contained in:
@@ -1479,7 +1479,7 @@ lib_mod_end(struct mod *mod)
|
||||
/******************************************************************************/
|
||||
/* return error */
|
||||
int DEFAULT_CC
|
||||
lib_mod_set_param(struct mod *mod, const char *name, char *value)
|
||||
lib_mod_set_param(struct mod *mod, const char *name, const char *value)
|
||||
{
|
||||
if (g_strcasecmp(name, "username") == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user