summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-01-18 12:33:25 -0500
committerJoey Hess <joey@gnu.kitenet.net>2010-01-18 12:33:25 -0500
commit32472c02ebcd646783855fcabd7f9f8c7f2bb4be (patch)
tree3b061b5a7ac165da2bda25106b76c1b5baeb1887
parentc30f0dda9f63120405b3188aba167a61ec99216d (diff)
brace style
-rw-r--r--IkiWiki/CGI.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index bb26add9a..07369ac10 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -15,7 +15,8 @@ sub printheader ($) {
if ($config{sslcookie}) {
print $session->header(-charset => 'utf-8',
-cookie => $session->cookie(-httponly => 1, -secure => 1));
- } else {
+ }
+ else {
print $session->header(-charset => 'utf-8',
-cookie => $session->cookie(-httponly => 1));
}