diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-08-30 01:04:17 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-08-30 01:04:17 +0000 |
commit | 1369e0caffc94ce9dc3be97252868373c6b6a91b (patch) | |
tree | c27a30fb096a58e93464cc4de355741f0a0548e3 /channels/chan_sip.c | |
parent | 9fc16d81a1f2ed5a0b4f0e9271036e6c37f4a4e9 (diff) |
fix error I introduced into oej's patch :-(
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6447 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rwxr-xr-x | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index b7ae7cf79..0b77fabc4 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -5642,7 +5642,7 @@ static void build_route(struct sip_pvt *p, struct sip_request *req, int backward } thishop = malloc(sizeof(*thishop) + len); if (thishop) { - strcpy(thishop->hop, c); + ast_copy_string(thishop->hop, c, len); thishop->next = NULL; /* Goes at the end */ if (tail) |