From f745ee765cd0793f0f33deb10bd34262c349afe3 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 1 Apr 2007 21:27:35 +0000 Subject: * Do no \n * Be consistent on output --- etc/inc/pfsense-utils.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc/inc/pfsense-utils.inc') 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; } } -- cgit v1.1