Merged revisions 222026 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r222026 | dvossel | 2009-10-02 12:32:13 -0500 (Fri, 02 Oct 2009) | 3 lines Removes unnecessary unlock, clarifies a memcpy. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@222030 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
4ecd294510
commit
1c483971dd
1 changed files with 1 additions and 1 deletions
|
@ -2590,7 +2590,7 @@ static int __find_callno(unsigned short callno, unsigned short dcallno, struct s
|
|||
}
|
||||
/* this searches for transfer call numbers that might not get caught otherwise */
|
||||
memset(&tmp_pvt.addr, 0, sizeof(tmp_pvt.addr));
|
||||
memcpy(&tmp_pvt.transfer, sin, sizeof(tmp_pvt.addr));
|
||||
memcpy(&tmp_pvt.transfer, sin, sizeof(tmp_pvt.transfer));
|
||||
if ((pvt = ao2_find(iax_transfercallno_pvts, &tmp_pvt, OBJ_POINTER))) {
|
||||
if (return_locked) {
|
||||
ast_mutex_lock(&iaxsl[pvt->callno]);
|
||||
|
|
Reference in a new issue