about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-02 00:09:13 +0000
committerEric Wong <e@80x24.org>2016-06-02 00:09:13 +0000
commite1d60f92dffc9830618aa0b49f3f829e99cb5353 (patch)
treebc3bb2e1e27bcb6ef1831694d5dcd16bd74be32d /lib
parent682ecd3ad1eec32876f2705e6c60c7dfb30556aa (diff)
downloadpublic-inbox-e1d60f92dffc9830618aa0b49f3f829e99cb5353.tar.gz
Oops, this quiets down a warning seen in logs.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/WWW.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm
index e211cd6d..d26b69c0 100644
--- a/lib/PublicInbox/WWW.pm
+++ b/lib/PublicInbox/WWW.pm
@@ -45,7 +45,8 @@ sub call {
 
         # we don't care about multi-value
         my %qp = map {
-                (split('=', $_, 2))
+                my ($k, $v) = split('=', $_, 2);
+                ($k, $v)
         } split(/[&;]/, uri_unescape($env->{QUERY_STRING}));
         $ctx->{qp} = \%qp;