projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f1b604f
)
add missing ;
author
Akos Vandra
<axos88@gmail.com>
Sun, 25 Sep 2016 15:01:11 +0000
(17:01 +0200)
committer
GitHub
<noreply@github.com>
Sun, 25 Sep 2016 15:01:11 +0000
(17:01 +0200)
contrib/SpamAssassin/Collectd.pm
patch
|
blob
|
history
diff --git
a/contrib/SpamAssassin/Collectd.pm
b/contrib/SpamAssassin/Collectd.pm
index
58d1e68
..
b53cf95
100644
(file)
--- a/
contrib/SpamAssassin/Collectd.pm
+++ b/
contrib/SpamAssassin/Collectd.pm
@@
-152,7
+152,7
@@
sub check_end {
#try at least $self->{main}->{conf}->{collectd_retries} to get a
#connection
for (my $i = 0; $i < $self->{main}->{conf}->{collectd_retries} ; ++$i) {
#try at least $self->{main}->{conf}->{collectd_retries} to get a
#connection
for (my $i = 0; $i < $self->{main}->{conf}->{collectd_retries} ; ++$i) {
- my ($socket_path) = $self->{main}->{conf}->{collectd_socket} =~ /(.*)/ # Untaint path, which can contain any characters.
+ my ($socket_path) = $self->{main}->{conf}->{collectd_socket} =~ /(.*)/
;
# Untaint path, which can contain any characters.
last if $sock = new IO::Socket::UNIX $socket_path;
#sleep a random value between 0 and 50 microsecs to try for a new
#thread
last if $sock = new IO::Socket::UNIX $socket_path;
#sleep a random value between 0 and 50 microsecs to try for a new
#thread