From d3c278d5102a8583c68a544ebce7dd22dfabf4ac Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Tue, 23 Jul 2019 17:50:54 +0200 Subject: [PATCH] Whitespace cleanup --- update.cgi | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/update.cgi b/update.cgi index e6ba638..3cf1900 100755 --- a/update.cgi +++ b/update.cgi @@ -40,7 +40,7 @@ if ($authtoken || $id) { if ($proto eq "http" || !($id && $password)) { print "Location: https://$ENV{SERVER_NAME}/$config{webloginhtml}\n\n"; exit; -} +} my $ldap; @@ -74,7 +74,7 @@ if (!$auth) { $mesg = $ldap->search(base => $editdn, filter => "uid=*"); $mesg->code && &Util::HTMLError($mesg->error); - + my $entries = $mesg->as_struct; if ($mesg->count != 1) { # complain and quit @@ -90,7 +90,7 @@ my $entry = $entries->{$dns[0]}; if (!($query->param('doupdate'))) { # Not yet update, just fill in the form with the current values my %data; - + # Fill in %data # First do the easy stuff - this catches most of the cases foreach (keys(%$entry)) { @@ -128,7 +128,7 @@ if (!($query->param('doupdate'))) { } $data{mailcontentinspectionaction} ||= 'reject'; - + $data{email} = CGI::escapeHTML(join(", ", @{$entry->{emailforward}})); my $mailcontentselect = '