Skip to content
Snippets Groups Projects
Unverified Commit 84dafed0 authored by Roman Lacko's avatar Roman Lacko
Browse files

install: consistent line breaks between subroutines

parent cb7a831a
No related branches found
No related tags found
1 merge request!1Code quality improvements
......@@ -142,11 +142,13 @@ sub prompt_password {
}
return $password1;
}
sub encode_uri {
my ($source) = @_;
$source =~ s/([^^A-Za-z0-9])/ sprintf "%%%02x", ord $1 /eg;
return $source
}
sub get_url {
my ($printer_name) = @_;
my $user = encode_uri(prompt_username());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment