dect
/
asterisk
Archived
13
0
Fork 0

Cosmetic fixes to code...

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21262 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
oej 2006-04-19 00:04:03 +00:00
parent 0d9156fc12
commit 6b7dee41bb
1 changed files with 3 additions and 2 deletions

View File

@ -3121,7 +3121,8 @@ static struct ast_channel *sip_new(struct sip_pvt *i, int state, const char *tit
for (v = i->chanvars ; v ; v = v->next)
pbx_builtin_setvar_helper(tmp,v->name,v->value);
append_history(i, "NewChan", "Channel %s - from %s", tmp->name, i->callid);
if (recordhistory)
append_history(i, "NewChan", "Channel %s - from %s", tmp->name, i->callid);
return tmp;
}
@ -10791,7 +10792,7 @@ static const char *gettag(const struct sip_request *req, char *header, char *tag
if (sep)
*sep = '\0';
}
return thetag; /* XXX maybe this should be tagbuf instead ? */
return tagbuf;
}
/*! \brief Handle incoming notifications */