Skip to content

Commit

Permalink
add missing ;
Browse files Browse the repository at this point in the history
  • Loading branch information
axos88 authored Sep 25, 2016
1 parent f1b604f commit d504075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/SpamAssassin/Collectd.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
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
Expand Down

0 comments on commit d504075

Please sign in to comment.