summaryrefslogtreecommitdiff
path: root/gmi.pl
diff options
context:
space:
mode:
authorjake <jake@jakes-mail.top>2022-08-24 04:02:06 -0400
committerjake <jake@jakes-mail.top>2022-08-24 04:02:06 -0400
commit6dc54569c2303c79903e89c8b96bf7663aaecc9f (patch)
treece5b7123dcc5290774f3ed720d710316dfe21e5c /gmi.pl
parent68a16edcebac12c2ad146f1b065b963f91b9a4ee (diff)
return rather than goto a label that doesn't exist in the subroutine
Diffstat (limited to 'gmi.pl')
-rwxr-xr-xgmi.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/gmi.pl b/gmi.pl
index 4ab8b3f..7fb9401 100755
--- a/gmi.pl
+++ b/gmi.pl
@@ -7,7 +7,7 @@ use warnings;
use 5.010;
#use diagnostics;
-our $VERSION = 'v0.16.1';
+our $VERSION = 'v0.16.2';
# Modules
use IO::Socket::SSL; # CPAN
@@ -229,7 +229,7 @@ sub respond_to_client {
my $redirect = check_for_config_redirection($vhost, $path, $redirection);
if ($redirect) {
speak($cl, 'redirect', $redirect);
- goto CLOSE;
+ return;
}
}