[asterisk-commits] dvossel: branch 1.8 r330578 - /branches/1.8/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 2 11:07:06 CDT 2011
Author: dvossel
Date: Tue Aug 2 11:07:02 2011
New Revision: 330578
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=330578
Log:
Optimization to buffer initialization fix.
Modified:
branches/1.8/channels/chan_sip.c
Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=330578&r1=330577&r2=330578
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Tue Aug 2 11:07:02 2011
@@ -18124,7 +18124,7 @@
/*! \brief Receive SIP INFO Message */
static void handle_request_info(struct sip_pvt *p, struct sip_request *req)
{
- char buf[1024] = { 0, };
+ char buf[1024] = "";
unsigned int event;
const char *c = get_header(req, "Content-Type");
More information about the asterisk-commits
mailing list