From patchwork Fri Nov 10 09:32:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 1526 Return-Path: Received: from mail01.ipfire.org (unknown [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id 7341360DB8 for ; Thu, 9 Nov 2017 23:32:19 +0100 (CET) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id A381C37DC; Thu, 9 Nov 2017 23:32:18 +0100 (CET) Received: from ipfire.tremer.co.uk (unknown [88.98.205.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id E988B36A8; Thu, 9 Nov 2017 23:32:16 +0100 (CET) From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 1/2] geoip-functions.pl: Fix typos and formatting Date: Thu, 9 Nov 2017 22:32:03 +0000 Message-Id: <20171109223204.14213-1-michael.tremer@ipfire.org> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20171108225248.204ac963.peter.mueller@link38.eu> References: <20171108225248.204ac963.peter.mueller@link38.eu> X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer Signed-off-by: Michael Tremer Reviewed-by: Peter Müller --- config/cfgroot/geoip-functions.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/cfgroot/geoip-functions.pl b/config/cfgroot/geoip-functions.pl index fc2dfdd34..623169eaf 100644 --- a/config/cfgroot/geoip-functions.pl +++ b/config/cfgroot/geoip-functions.pl @@ -63,10 +63,10 @@ sub get_flag_icon($) { # the icon for "unknown". my $ccode = "unknown"; - # Redoing all the stuff from abouve for the "unknown" icon. - my $file = join('.', $ccode,$ext); - my $flag_icon = join('/', $flagdir,$file); - my $absolute_path = join('', $webroot,$flag_icon); + # Redoing all the stuff from above for the "unknown" icon. + my $file = join('.', $ccode, $ext); + my $flag_icon = join('/', $flagdir, $file); + my $absolute_path = join('', $webroot, $flag_icon); # Check if the icon is present. if (-e "$absolute_path") {