mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@311559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1128,7 +1128,7 @@ int parse_name_andor_addr(char *uri, const char *scheme, char **name,
|
|||||||
struct uriparams *params, char **headers,
|
struct uriparams *params, char **headers,
|
||||||
char **residue)
|
char **residue)
|
||||||
{
|
{
|
||||||
static char buf[1024];
|
char buf[1024];
|
||||||
char **residue2=residue;
|
char **residue2=residue;
|
||||||
int ret;
|
int ret;
|
||||||
if (name) {
|
if (name) {
|
||||||
|
Reference in New Issue
Block a user