From: Olle Johansson Date: Thu, 16 Mar 2006 08:40:45 +0000 (+0000) Subject: Importing "oops" fix from 1.2 branch. X-Git-Tag: 1.4.0-beta1~2411 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bad8015955234c6e6425d9af1b5a21f3cde301b;p=thirdparty%2Fasterisk.git Importing "oops" fix from 1.2 branch. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13206 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 426fb93de7..f691134bb2 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -10854,7 +10854,7 @@ static int handle_request_subscribe(struct sip_pvt *p, struct sip_request *req, char *accept = get_header(req, "Accept"); /* Find parameters to Event: header value and remove them for now */ - eventparam = strchr(event, ";"); + eventparam = strchr(event, ';'); if (eventparam) { *eventparam = '\0'; eventparam++;