[asterisk-commits] tilghman: branch 1.4 r85356 - /branches/1.4/main/pbx.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Oct 10 23:35:33 CDT 2007
Author: tilghman
Date: Wed Oct 10 23:35:33 2007
New Revision: 85356
URL: http://svn.digium.com/view/asterisk?view=rev&rev=85356
Log:
A dollar sign by itself, not indicating a start of a variable or expression prematurely ends substitution (closes issue #10939)
Modified:
branches/1.4/main/pbx.c
Modified: branches/1.4/main/pbx.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/pbx.c?view=diff&rev=85356&r1=85355&r2=85356
==============================================================================
--- branches/1.4/main/pbx.c (original)
+++ branches/1.4/main/pbx.c Wed Oct 10 23:35:33 2007
@@ -1573,6 +1573,8 @@
nextexp = nextthing;
pos = nextexp - whereweare;
break;
+ default:
+ pos = 1;
}
}
@@ -1731,8 +1733,7 @@
count -= length;
cp2 += length;
}
- } else
- break;
+ }
}
}
More information about the asterisk-commits
mailing list