[Asterisk-cvs] asterisk pbx.c,1.201,1.202
markster at lists.digium.com
markster at lists.digium.com
Thu Feb 10 10:38:32 CST 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv32416
Modified Files:
pbx.c
Log Message:
Fix (in an admittedly icky way) the CALL variable broken issues (bug #3549)
Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.201
retrieving revision 1.202
diff -u -d -r1.201 -r1.202
--- pbx.c 9 Feb 2005 21:10:41 -0000 1.201
+++ pbx.c 10 Feb 2005 16:38:39 -0000 1.202
@@ -920,7 +920,8 @@
snprintf(workspace, workspacelen, "%d", c->cid.cid_tns);
*ret = workspace;
}
- }
+ } else
+ goto icky;
} else if (c && !strcmp(var, "DNID")) {
if (c->cid.cid_dnid) {
strncpy(workspace, c->cid.cid_dnid, workspacelen - 1);
@@ -996,6 +997,7 @@
strncpy(workspace, c->language, workspacelen - 1);
*ret = workspace;
} else {
+icky:
if (headp) {
AST_LIST_TRAVERSE(headp,variables,entries) {
#if 0
More information about the svn-commits
mailing list