aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2008-09-09 18:48:49 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2008-09-09 18:48:49 +0400
commit57e765ce78c6b9746cddab4c3415dc386552151f (patch)
tree3e1a28756015169dda66e4c0dd147689c0e77739 /util.c
parentf1e17a0d63485d6317fc5d83b57618cfc08dea44 (diff)
downloadrspamd-57e765ce78c6b9746cddab4c3415dc386552151f.tar.gz
rspamd-57e765ce78c6b9746cddab4c3415dc386552151f.zip
* Fix url parser (get regexp from our mail system)
* Add some more tests to url testcase
Diffstat (limited to 'util.c')
-rw-r--r--util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util.c b/util.c
index 52591983a..ed6d18fb6 100644
--- a/util.c
+++ b/util.c
@@ -197,7 +197,8 @@ pass_signal_worker (struct workq *workers, int signo)
void convert_to_lowercase (char *str, unsigned int size)
{
while (size--) {
- *str = tolower (*str ++);
+ *str = tolower (*str);
+ str ++;
}
}