[asterisk-commits] branch 1.2 r19768 - /branches/1.2/pbx.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Apr 13 08:56:37 MST 2006


Author: tilghman
Date: Thu Apr 13 10:56:35 2006
New Revision: 19768

URL: http://svn.digium.com/view/asterisk?rev=19768&view=rev
Log:
Bug 6957 - variable names beginning with CALLERID weren't substituted correctly

Modified:
    branches/1.2/pbx.c

Modified: branches/1.2/pbx.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/pbx.c?rev=19768&r1=19767&r2=19768&view=diff
==============================================================================
--- branches/1.2/pbx.c (original)
+++ branches/1.2/pbx.c Thu Apr 13 10:56:35 2006
@@ -1023,7 +1023,8 @@
 						*ret = workspace;
 					} else
 						*ret = NULL;
-				}
+				} else
+					goto icky;
 			} else if (!strcmp(var + 6, "ANI")) {
 				/* CALLERANI */
 				if (c->cid.cid_ani) {



More information about the asterisk-commits mailing list