aboutsummaryrefslogtreecommitdiffstats
path: root/src/expressions.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-08-16 23:35:50 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-08-16 23:35:50 +0100
commit797ed49118014e8ad121a04b585526734ad6b335 (patch)
tree7a7592cdeeb04e4c4e45152164789e23163172c2 /src/expressions.c
parentfc9dbea5f5e423a12d5c8d7324ef48e7369b675c (diff)
downloadrspamd-797ed49118014e8ad121a04b585526734ad6b335.tar.gz
rspamd-797ed49118014e8ad121a04b585526734ad6b335.zip
Fix some warnings found by coverity scan.
Diffstat (limited to 'src/expressions.c')
-rw-r--r--src/expressions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expressions.c b/src/expressions.c
index 6a88514c9..c8247e40d 100644
--- a/src/expressions.c
+++ b/src/expressions.c
@@ -605,7 +605,7 @@ parse_regexp (memory_pool_t * pool, gchar *line, gboolean raw_mode)
while (g_ascii_isspace (*line)) {
line++;
}
- if (line == '\0') {
+ if (*line == '\0') {
msg_warn ("got empty regexp");
return NULL;
}