From: Tollef Fog Heen Date: Tue, 23 Jul 2019 15:50:54 +0000 (+0200) Subject: Whitespace cleanup X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap-cgi.git;a=commitdiff_plain;h=d3c278d5102a8583c68a544ebce7dd22dfabf4ac Whitespace cleanup --- 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 = '