Fix SetVar (bug #3668) and g + transfer (#3650)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-02-26 03:57:10 +00:00
parent 3188414261
commit 233e26b112
2 changed files with 2 additions and 2 deletions

2
pbx.c
View File

@@ -5320,7 +5320,7 @@ int pbx_builtin_setvar(struct ast_channel *chan, void *data)
char *name, *value, *mydata, *next, *fstr = NULL;
struct ast_flags flags = {0};
if (data && !ast_strlen_zero(data) && chan->cdr && (mydata = ast_strdupa(data))) {
if (data && !ast_strlen_zero(data) && (mydata = ast_strdupa(data))) {
next = mydata;
while(next) {
name = next;