]> diplodocus.org Git - minc/commitdiff
(log_headers): Adapt to the %headers hash now having all-lowercase
authorepg <>
Sun, 25 Aug 2002 20:28:58 +0000 (20:28 +0000)
committerepg <>
Sun, 25 Aug 2002 20:28:58 +0000 (20:28 +0000)
keys.

minc

diff --git a/minc b/minc
index 49b9afe..725940a 100755 (executable)
--- a/minc
+++ b/minc
@@ -201,10 +201,10 @@ sub logerr { mylog('error', ERRORCHAR, @_); }
 sub log_headers {
     my %headers = @_;
 
-    logincoming('From:       ', $headers{'Return-Path'});
-    logincoming('To:         ', $headers{'To'});
-    logincoming('Subject:    ', $headers{'Subject'});
-    logincoming('Message-Id: ', $headers{'Message-Id'});
+    logincoming('From:       ', $headers{'return-path'});
+    logincoming('To:         ', $headers{'to'});
+    logincoming('Subject:    ', $headers{'subject'});
+    logincoming('Message-Id: ', $headers{'message-id'});
 }
 
 \f