diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-06-17 17:24:55 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-06-17 17:24:55 +0400 |
commit | fba45df3a0f7620e128339cb4e4f95eb63ca5d6a (patch) | |
tree | 1940929267ed29702c757ab3a016777f28cb34df /src/client | |
parent | a47bd1324d38975e283d09027645bdbe06abef4e (diff) | |
download | rspamd-fba45df3a0f7620e128339cb4e4f95eb63ca5d6a.tar.gz rspamd-fba45df3a0f7620e128339cb4e4f95eb63ca5d6a.zip |
Handle files with zero lenght properly.
Reported by: Andrej Zverev
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/rspamc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c index f5561cdab..80798da05 100644 --- a/src/client/rspamc.c +++ b/src/client/rspamc.c @@ -635,6 +635,7 @@ main (gint argc, gchar **argv, gchar **env) } } else { + add_rspamd_server (FALSE); scan_rspamd_file (argv[1]); } } |