Fix warnings detected by -Wwrite-strings

This commit is contained in:
Pavel Roskin
2016-06-21 16:30:17 -07:00
parent a680d46edf
commit aeeb3d2c2e
33 changed files with 82 additions and 75 deletions
+1 -1
View File
@@ -1479,7 +1479,7 @@ lib_mod_end(struct mod *mod)
/******************************************************************************/
/* return error */
int DEFAULT_CC
lib_mod_set_param(struct mod *mod, char *name, char *value)
lib_mod_set_param(struct mod *mod, const char *name, char *value)
{
if (g_strcasecmp(name, "username") == 0)
{