Matt Simerson | 4 Jun 2012 00:55
Gravatar

[PATCH] basicheaders: adding missing semicolon, fixed POD error

---
 plugins/check_basicheaders |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/check_basicheaders b/plugins/check_basicheaders
index 684b9a4..c72f229 100644
--- a/plugins/check_basicheaders
+++ b/plugins/check_basicheaders
 <at>  <at>  -35,7 +35,7  <at>  <at>  I would be surprised if a valid message ever had a date header older than a week

 Determine if the connection is denied. Use the I<reject 0> option when first enabling the plugin, and then
watch your logs to see what would have been rejected. When you are no longer concerned that valid messages
will be rejected, enable with I<reject 1>.

-  check_basicheaders [ reject 0 | 1 ]
+  check_basicheaders reject [ 0 | 1 ]

 Default policy is to reject.

 <at>  <at>  -116,7 +116,7  <at>  <at>  sub hook_data_post {

     if ( ! $header->get('From') ) {
         $self->log(LOGINFO, "fail: no from");
-        return ($deny, "We require a valid From header")
+        return ($deny, "We require a valid From header");
     };

     my $date = $header->get('Date') or do {
--

-- 
1.7.9.6
(Continue reading)


Gmane