fix error I introduced into oej's patch :-(

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Kevin P. Fleming 20 years ago
parent 388e8bd9a8
commit 538e160956

@ -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)

Loading…
Cancel
Save