From 27562d6eef959b08d16ef6e9b44e32e5df6cd793 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Wed, 12 Aug 2015 10:13:19 +0200 Subject: diag_new_states - code style fixes Fix indentation and bunch of missing spaces between function arguments. --- config/diag_states_pt/diag_new_states.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config/diag_states_pt/diag_new_states.php b/config/diag_states_pt/diag_new_states.php index 8c82ca4d..00b22e33 100644 --- a/config/diag_states_pt/diag_new_states.php +++ b/config/diag_states_pt/diag_new_states.php @@ -279,7 +279,7 @@ function writeStats($fname, &$data) { function readStats($fname, &$data) { $fname = "/tmp/" . $fname; if (file_exists($fname)) { - $file = fopen($fname,'r'); + $file = fopen($fname, 'r'); $data = unserialize(fread($file, filesize($fname))); fclose($file); } @@ -346,12 +346,12 @@ include("head.inc"); if ((!isset($sfilter) && (!isset($dfilter))) || ((isset($sfilter)) && ($entry['srcip'] == $sfilter)) || ((isset($dfilter)) && ($entry['dstip'] == $dfilter))) { - ?> + ?> - + - + -- cgit v1.2.3