[Asterisk-Dev] [PATCH] Fix bug in handle_request_info
Marc Haisenko
haisenko at comdasys.com
Fri Jan 13 10:16:44 MST 2006
Hi folks,
I spotted a bug in handle_request_info: in an "if" condition the code assumes
to receive NULL on error, while in fact it receives an empty string. The
attached trivial patch fixes this.
Patch is done against chan_sip.c from r8023.
C'ya,
Marc
--
Marc Haisenko
Comdasys AG
Rüdesheimer Straße 7
D-80686 München
Tel: +49 (0)89 - 548 43 33 0
Fax: +49 (0)89 - 548 43 33 29
e-mail: haisenko at comdasys.com
http://www.comdasys.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chan_sip.c.patch
Type: text/x-diff
Size: 475 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20060113/d689a5f6/chan_sip.c.bin
More information about the asterisk-dev
mailing list