Skip to content
Snippets Groups Projects
Commit 2724885b authored by Luigi Rizzo's avatar Luigi Rizzo
Browse files

small simplification in assignments, and fix a typo in a comment.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 24d1d23a
No related branches found
No related tags found
No related merge requests found
......@@ -7417,20 +7417,14 @@ static int get_refer_info(struct sip_pvt *transferer, struct sip_request *outgoi
}
 
 
/*! \brief Call transfer support (old way, depreciated by the IETF)--*/
/*! \brief Call transfer support (old way, deprecated by the IETF)--*/
static int get_also_info(struct sip_pvt *p, struct sip_request *oreq)
{
char tmp[256] = "", *c, *a;
struct sip_request *req = oreq;
struct sip_refer *referdata;
struct sip_request *req = oreq ? oreq : &p->initreq;
struct sip_refer *referdata = p->refer;
const char *transfer_context = NULL;
referdata = p->refer;
if (!oreq)
req = &p->initreq;
else
req = oreq;
ast_copy_string(tmp, get_header(req, "Also"), sizeof(tmp));
c = get_in_brackets(tmp);
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment