mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
asterisk: change tabs for spaces for indentation
the plugin currently has inconsistencies with how lines are indented: some lines only use tab characters while all other lines use spaces. Let's make the coding style more uniform by using spaces everywhere.
This commit is contained in:
parent
7492865044
commit
5fff12db96
1 changed files with 8 additions and 8 deletions
|
@ -131,8 +131,8 @@ my $confbridge_enabled = $ENV{'confbridge'} || '1';
|
||||||
|
|
||||||
my $line, my $error;
|
my $line, my $error;
|
||||||
my $socket = new IO::Socket::INET(PeerAddr => $peeraddr,
|
my $socket = new IO::Socket::INET(PeerAddr => $peeraddr,
|
||||||
PeerPort => $peerport,
|
PeerPort => $peerport,
|
||||||
Proto => 'tcp')
|
Proto => 'tcp')
|
||||||
or $error = "Could not create socket: $!";
|
or $error = "Could not create socket: $!";
|
||||||
|
|
||||||
if ( $socket ) {
|
if ( $socket ) {
|
||||||
|
@ -403,9 +403,9 @@ END
|
||||||
}
|
}
|
||||||
foreach my $codec (@CODECSX) {
|
foreach my $codec (@CODECSX) {
|
||||||
if ($fields[4] eq "$codec") {
|
if ($fields[4] eq "$codec") {
|
||||||
$results[$i] = $results[$i] + 1;
|
$results[$i] = $results[$i] + 1;
|
||||||
$found = 1;
|
$found = 1;
|
||||||
last;
|
last;
|
||||||
}
|
}
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
@ -426,9 +426,9 @@ END
|
||||||
}
|
}
|
||||||
foreach my $codec (@CODECS) {
|
foreach my $codec (@CODECS) {
|
||||||
if ($fields[8] eq "$codec") {
|
if ($fields[8] eq "$codec") {
|
||||||
$results[$i] = $results[$i] + 1;
|
$results[$i] = $results[$i] + 1;
|
||||||
$found = 1;
|
$found = 1;
|
||||||
last;
|
last;
|
||||||
}
|
}
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue