Use const pointers in function arguments when possible

This commit is contained in:
Pavel Roskin
2016-10-16 23:14:06 -07:00
parent bc868b96b1
commit 6fef1e4eb5
18 changed files with 36 additions and 34 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ internal_log_end(struct log_config *l_cfg)
* @return
*/
enum logLevels DEFAULT_CC
internal_log_text2level(char *buf)
internal_log_text2level(const char *buf)
{
if (0 == g_strcasecmp(buf, "0") ||
0 == g_strcasecmp(buf, "core"))