TLS: PIPELINING under OpenSSL
[exim.git] / src / src / exiqgrep.src
index 2c52f137fc9a3d3f60b0928df5d683fdd68705ed..d900e99337a49be8709277bae1eb0d203f34aa22 100644 (file)
@@ -18,6 +18,7 @@
 # Version 1.2
 
 use strict;
+BEGIN { pop @INC if $INC[-1] eq '.' };
 use Getopt::Std;
 
 # Have this variable point to your exim binary.
@@ -87,7 +88,7 @@ EOF
 }
 
 sub collect() {
-       open(QUEUE,"$exim $eargs |") or die("Error openning pipe: $!\n");
+       open(QUEUE,"$exim $eargs |") or die("Error opening pipe: $!\n");
        while(<QUEUE>) {
                chomp();
                my $line = $_;