aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-13 07:48:39 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-13 07:48:39 +0000
commit3c4fac8ff168f5ccc9c4ff755388cffc1af08a4f (patch)
tree46faffd9d93c9f094b1b3aa021b75d9f8434c6e1
parentb4fbdb3021cdc81b765c79580333aad0f4643c18 (diff)
temp fix for timed includes and GotoIfTime
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2012 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xpbx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbx.c b/pbx.c
index 60fdc0a67..b72dc26fe 100755
--- a/pbx.c
+++ b/pbx.c
@@ -2888,7 +2888,7 @@ static void get_timerange(struct ast_include *i, char *times)
int x;
int s1, s2;
int e1, e2;
- int cth, ctm;
+// int cth, ctm;
//[PHM 07/01/03]
//start disabling all times, fill the fields with 0's, as they may contain garbage
@@ -2922,7 +2922,7 @@ static void get_timerange(struct ast_include *i, char *times)
return;
}
-#if 0
+#if 1
s1 = s1 * 30 + s2/2;
if ((s1 < 0) || (s1 >= 24*30)) {
ast_log(LOG_WARNING, "%s isn't a valid star time. Assuming no time.\n", times);