mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Fix silly pbx spool buglet (bug #2007)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -116,7 +116,7 @@ static int apply_outgoing(struct outgoing *o, char *fn, FILE *f)
|
||||
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);
|
||||
|
Reference in New Issue
Block a user