[asterisk-commits] rizzo: branch rizzo/astobj2 r47990 -
/team/rizzo/astobj2/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Nov 24 09:33:03 MST 2006
Author: rizzo
Date: Fri Nov 24 10:33:03 2006
New Revision: 47990
URL: http://svn.digium.com/view/asterisk?view=rev&rev=47990
Log:
initreq.header is always non-null as it is the base of an array.
What we want is to check that the number of headers is zero.
Not serious, but this bug affects trunk and possibly earlier versions
as well.
Modified:
team/rizzo/astobj2/channels/chan_sip.c
Modified: team/rizzo/astobj2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/rizzo/astobj2/channels/chan_sip.c?view=diff&rev=47990&r1=47989&r2=47990
==============================================================================
--- team/rizzo/astobj2/channels/chan_sip.c (original)
+++ team/rizzo/astobj2/channels/chan_sip.c Fri Nov 24 10:33:03 2006
@@ -15068,7 +15068,7 @@
res = 1;
}
if (res) {
- if (!p->initreq.header) /* New call */
+ if (!p->initreq.headers) /* New call */
set_destroy(p); /* Make sure we destroy this dialog */
return -1;
}
More information about the asterisk-commits
mailing list