[asterisk-commits] twilson: trunk r311559 - in /trunk: ./ channels/sip/reqresp_parser.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 22 21:51:13 CDT 2011


Author: twilson
Date: Tue Mar 22 21:51:09 2011
New Revision: 311559

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=311559
Log:
Merged revisions 311558 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r311558 | twilson | 2011-03-22 19:24:53 -0700 (Tue, 22 Mar 2011) | 5 lines
  
  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:
    trunk/   (props changed)
    trunk/channels/sip/reqresp_parser.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: trunk/channels/sip/reqresp_parser.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/sip/reqresp_parser.c?view=diff&rev=311559&r1=311558&r2=311559
==============================================================================
--- trunk/channels/sip/reqresp_parser.c (original)
+++ trunk/channels/sip/reqresp_parser.c Tue Mar 22 21:51:09 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