Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use project convention of tabs instead of spaces

  • Loading branch information...
commit 317a8399c9472b31109b65d1d83a9857e01a65d7 1 parent b90e1d4
@bts authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/functions.pl
View
8 src/functions.pl
@@ -105,10 +105,10 @@ sub mbz_download_file {
my $request = HTTP::Request->new('GET', $_[0]);
my $resp = $ua->request($request, $_[1]);
- if( $resp->is_success ) {
- return $resp;
- } else {
- die 'Error downloading ' . $_[0] . ': ' . $resp->status_line;
+ if($resp->is_success) {
+ return $resp;
+ } else {
+ die 'Error downloading ' . $_[0] . ': ' . $resp->status_line;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.