summaryrefslogtreecommitdiffstats
path: root/rspamc.pl.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-06-02 19:32:34 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-06-02 19:32:34 +0400
commit7bae787900fea17ca82393886217c6287d7e8cea (patch)
tree4f358b3624d7b2ba6c86a25057d4ba7db10965ae /rspamc.pl.in
parent4eb2985d1ef3631fca82cbf18cc2e8d7aab9b096 (diff)
downloadrspamd-7bae787900fea17ca82393886217c6287d7e8cea.tar.gz
rspamd-7bae787900fea17ca82393886217c6287d7e8cea.zip
* Rework url parsing algorithms
* Adopt all parts of rspamd for new url parser * Improve url-extracter utility by avoiding cut&paste of mime parsing * Small fixes to rspamc client * Bump version to 0.1.3
Diffstat (limited to 'rspamc.pl.in')
-rwxr-xr-xrspamc.pl.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/rspamc.pl.in b/rspamc.pl.in
index 6681fd6d9..9d5712117 100755
--- a/rspamc.pl.in
+++ b/rspamc.pl.in
@@ -200,7 +200,7 @@ sub do_control_command {
my %args;
getopt('c:h:p:Ps:', \%args);
my $cmd = shift;
-my $do_parse_config = 0;
+my $do_parse_config = 1;
if (!defined ($cmd) || $cmd eq '') {
HELP_MESSAGE();
@@ -230,6 +230,7 @@ if (defined ($args{h})) {
$cfg{'host'} = $args{h};
if ($args{h} =~ /^\/.*$/) {
$cfg{'is_unix'} = 1;
+ $do_parse_config = 0;
}
}
if (defined ($args{p})) {