[Asterisk-cvs] asterisk/pbx pbx_spool.c,1.13,1.14
markster at lists.digium.com
markster at lists.digium.com
Fri Jul 9 17:48:38 CDT 2004
Update of /usr/cvsroot/asterisk/pbx
In directory mongoose.digium.com:/tmp/cvs-serv14068/pbx
Modified Files:
pbx_spool.c
Log Message:
Fix silly pbx spool buglet (bug #2007)
Index: pbx_spool.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_spool.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- pbx_spool.c 22 Jun 2004 18:49:00 -0000 1.13
+++ pbx_spool.c 9 Jul 2004 21:34:24 -0000 1.14
@@ -116,7 +116,7 @@
if (c) {
*c = '\0';
c++;
- while(*c < 33)
+ while ((*c) && (*c < 33))
c++;
#if 0
printf("'%s' is '%s' at line %d\n", buf, c, lineno);
More information about the svn-commits
mailing list