Importing "oops" fix from 1.2 branch.
authorOlle Johansson <oej@edvina.net>
Thu, 16 Mar 2006 08:40:45 +0000 (08:40 +0000)
committerOlle Johansson <oej@edvina.net>
Thu, 16 Mar 2006 08:40:45 +0000 (08:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13206 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 426fb93..f691134 100644 (file)
@@ -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++;