[asterisk-commits] twilson: branch 1.8 r311558 - /branches/1.8/channels/sip/reqresp_parser.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Mar 22 21:24:58 CDT 2011
Author: twilson
Date: Tue Mar 22 21:24:53 2011
New Revision: 311558
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=311558
Log:
Don't use static declared buf in parse_name_andor_addr
This function isn't used anywhere yet, but we definitely don't want
to keep the same value for buf between calls to the function.
Modified:
branches/1.8/channels/sip/reqresp_parser.c
Modified: branches/1.8/channels/sip/reqresp_parser.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/sip/reqresp_parser.c?view=diff&rev=311558&r1=311557&r2=311558
==============================================================================
--- branches/1.8/channels/sip/reqresp_parser.c (original)
+++ branches/1.8/channels/sip/reqresp_parser.c Tue Mar 22 21:24:53 2011
@@ -1128,7 +1128,7 @@
struct uriparams *params, char **headers,
char **residue)
{
- static char buf[1024];
+ char buf[1024];
char **residue2=residue;
int ret;
if (name) {
More information about the asterisk-commits
mailing list