Skip to content
Snippets Groups Projects
Commit 389ed67b authored by Olle Johansson's avatar Olle Johansson
Browse files

Merging patch from 1.2/1.4. I think this was originally spotted by

Luigi, but hit me in the back today.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent bf9a5e1d
No related branches found
No related tags found
No related merge requests found
......@@ -14575,7 +14575,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
error = 1;
}
if (error) {
if (!p->initreq.header) /* New call */
if (!p->initreq.headers) /* New call */
ast_set_flag(&p->flags[0], SIP_NEEDDESTROY); /* Make sure we destroy this dialog */
return -1;
}
......
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