Fix silly pbx spool buglet (bug #2007)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 21 years ago
parent 9e0e3799bf
commit fb3f2062fa

@ -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);

Loading…
Cancel
Save