diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-08-30 01:04:17 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-08-30 01:04:17 +0000 |
commit | 538e160956259f65c197a467e459803860b11ef6 (patch) | |
tree | c27a30fb096a58e93464cc4de355741f0a0548e3 /channels/chan_sip.c | |
parent | 388e8bd9a8011da13014fdd1734834609a85b67c (diff) |
fix error I introduced into oej's patch :-(
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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) |