diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-01 21:27:35 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-01 21:27:35 +0000 |
commit | f745ee765cd0793f0f33deb10bd34262c349afe3 (patch) | |
tree | e0fa5f087448564bb0e5459c2f326f5c4ab75b52 /etc/inc | |
parent | 0c247ed596f43e3476bf058abe6a0cd49e09157f (diff) | |
download | pfsense-f745ee765cd0793f0f33deb10bd34262c349afe3.zip pfsense-f745ee765cd0793f0f33deb10bd34262c349afe3.tar.gz |
* Do no \n
* Be consistent on output
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 6913c0e..7b9789d 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -600,9 +600,9 @@ function tdr_hour($schedule) { $starting_time = strtotime($tmp[0]); $ending_time = strtotime($tmp[1]); $now = strtotime("now"); - log_error("[TDR DEBUG] S: $starting_time E: $ending_time N: $now \n"); + log_error("[TDR DEBUG] S: $starting_time E: $ending_time N: $now"); if($now >= $starting_time and $now <= $ending_time) { - log_error("[TDR DEBUG] tdr_hour() returning true \n"); + log_error("[TDR DEBUG] tdr_hour($schedule) returning true"); return true; } return false; @@ -624,7 +624,7 @@ function tdr_position($schedule) { $schedule_days = split(",", $schedule); foreach($schedule_days as $day) { if($day == $weekday) { - log_error("[TDR DEBUG] tdr_position() returning true $day"); + log_error("[TDR DEBUG] tdr_position($schedule) returning true $day"); return true; } } |