[asterisk-dev] Re: branch 1.2 r13026 - /branches/1.2/channels/chan_sip.c

Tony Mountifield tony at softins.clara.co.uk
Wed Mar 15 15:59:43 MST 2006


See below...

In article <20060315130126.63858A9491D at abita.digium.internal>,
 <svn-commits at lists.digium.com> wrote:
> Author: oej
> Date: Wed Mar 15 07:01:23 2006
> New Revision: 13026
> 
> URL: http://svn.digium.com/view/asterisk?rev=13026&view=rev
> Log:
> Issue #6728: Remove parameters to Event: header on SUBSCRIBE requests
> 
> Modified:
>     branches/1.2/channels/chan_sip.c
> 
> Modified: branches/1.2/channels/chan_sip.c
> URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?rev=13026&r1=13025&r2=13026&view=diff
> ==============================================================================
> --- branches/1.2/channels/chan_sip.c (original)
> +++ branches/1.2/channels/chan_sip.c Wed Mar 15 07:01:23 2006
> @@ -10700,9 +10700,17 @@
>  		int found = 0;
>  		char *mailbox = NULL;
>  		int mailboxsize = 0;
> +		char *eventparam;
>  
>  		char *event = get_header(req, "Event");	/* Get Event package name */
>  		char *accept = get_header(req, "Accept");
> +
> +		/* Find parameters to Event: header value and remove them for now */
> +		eventparam = strchr(event, ";");

That should be ';', not ";".

Cheers
Tony

-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-dev mailing list