[Asterisk-cvs] asterisk pbx.c,1.96.2.4,1.96.2.5
markster at lists.digium.com
markster at lists.digium.com
Thu Mar 4 00:33:47 CST 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv31740
Modified Files:
Tag: v1-0_stable
pbx.c
Log Message:
Fix gotoiftime (bug #1151)
Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.96.2.4
retrieving revision 1.96.2.5
diff -u -d -r1.96.2.4 -r1.96.2.5
--- pbx.c 26 Feb 2004 17:35:59 -0000 1.96.2.4
+++ pbx.c 4 Mar 2004 05:24:45 -0000 1.96.2.5
@@ -2930,12 +2930,12 @@
#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);
+ ast_log(LOG_WARNING, "%s isn't a valid start time. Assuming no time.\n", times);
return;
}
e1 = e1 * 30 + e2/2;
- if ((e1 < 0) || (e2 >= 24*30)) {
- ast_log(LOG_WARNING, "%s isn't a valid start time. Assuming no time.\n", times);
+ if ((e1 < 0) || (e1 >= 24*30)) {
+ ast_log(LOG_WARNING, "%s isn't a valid end time. Assuming no time.\n", e);
return;
}
/* Go through the time and enable each appropriate bit */
More information about the svn-commits
mailing list