aboutsummaryrefslogtreecommitdiffstats
path: root/channels/sip
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2011-03-23 02:51:09 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2011-03-23 02:51:09 +0000
commit24ba441e67a8c63e3886eb60ec935d93862fc5d2 (patch)
tree66336f9e63368026e5c2a4724a016951247e4419 /channels/sip
parent741b3cc233cac5d6efefd9d4ea900be996c935b6 (diff)
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. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@311559 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/sip')
-rw-r--r--channels/sip/reqresp_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/sip/reqresp_parser.c b/channels/sip/reqresp_parser.c
index ecea91f0c..a40054ac0 100644
--- a/channels/sip/reqresp_parser.c
+++ b/channels/sip/reqresp_parser.c
@@ -1128,7 +1128,7 @@ int parse_name_andor_addr(char *uri, const char *scheme, char **name,
struct uriparams *params, char **headers,
char **residue)
{
- static char buf[1024];
+ char buf[1024];
char **residue2=residue;
int ret;
if (name) {