aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-24 18:38:11 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-24 18:38:11 +0300
commit5dbf570b7df0e7c9770432884f95c14b193b5b30 (patch)
tree547448e51751b47179c46b19b9d26f2991642b30 /src/util.c
parent616e4a7d03fba715185f55d1298cc09377313591 (diff)
downloadrspamd-5dbf570b7df0e7c9770432884f95c14b193b5b30.tar.gz
rspamd-5dbf570b7df0e7c9770432884f95c14b193b5b30.zip
* Fix many compile time warnings and polish code
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index e99167d47..8c878844c 100644
--- a/src/util.c
+++ b/src/util.c
@@ -265,7 +265,7 @@ pass_signal_worker (struct workq *workers, int signo)
void convert_to_lowercase (char *str, unsigned int size)
{
while (size--) {
- *str = tolower (*str);
+ *str = g_ascii_tolower (*str);
str ++;
}
}
@@ -629,6 +629,7 @@ open_log (struct config_file *cfg)
}
return 0;
}
+ return -1;
}
void