mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-23 21:19:09 +00:00
temp fix for timed includes and GotoIfTime
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
pbx.c
4
pbx.c
@@ -2888,7 +2888,7 @@ static void get_timerange(struct ast_include *i, char *times)
|
|||||||
int x;
|
int x;
|
||||||
int s1, s2;
|
int s1, s2;
|
||||||
int e1, e2;
|
int e1, e2;
|
||||||
int cth, ctm;
|
// int cth, ctm;
|
||||||
|
|
||||||
//[PHM 07/01/03]
|
//[PHM 07/01/03]
|
||||||
//start disabling all times, fill the fields with 0's, as they may contain garbage
|
//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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 1
|
||||||
s1 = s1 * 30 + s2/2;
|
s1 = s1 * 30 + s2/2;
|
||||||
if ((s1 < 0) || (s1 >= 24*30)) {
|
if ((s1 < 0) || (s1 >= 24*30)) {
|
||||||
ast_log(LOG_WARNING, "%s isn't a valid star time. Assuming no time.\n", times);
|
ast_log(LOG_WARNING, "%s isn't a valid star time. Assuming no time.\n", times);
|
||||||
|
|||||||
Reference in New Issue
Block a user