diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-04 21:37:31 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-04 21:37:31 +0100 |
commit | 9230fde0381a7dcc7e3d86e954382a01a8fcfd63 (patch) | |
tree | 9d91f16d2871df6b1bb1c398b7cbe5478b546918 /package/asterisk/patches/patch-channels_chan_iax2_c | |
parent | 9bacd09cc5280924908fc4bba494856bbe37c47f (diff) | |
parent | b047da059a1042a27ba68b1bdc50dd187bd362f4 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/asterisk/patches/patch-channels_chan_iax2_c')
-rw-r--r-- | package/asterisk/patches/patch-channels_chan_iax2_c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/asterisk/patches/patch-channels_chan_iax2_c b/package/asterisk/patches/patch-channels_chan_iax2_c new file mode 100644 index 000000000..f39c2bf5b --- /dev/null +++ b/package/asterisk/patches/patch-channels_chan_iax2_c @@ -0,0 +1,20 @@ +--- asterisk-1.4.27.1.orig/channels/chan_iax2.c 2009-11-10 18:15:57.000000000 +0100 ++++ asterisk-1.4.27.1/channels/chan_iax2.c 2009-12-03 20:57:05.000000000 +0100 +@@ -7076,7 +7076,7 @@ static int try_transfer(struct chan_iax2 + + memset(&ied, 0, sizeof(ied)); + if (ies->apparent_addr) +- bcopy(ies->apparent_addr, &new, sizeof(new)); ++ memcpy(&new, ies->apparent_addr, sizeof(new)); + if (ies->callno) + newcall = ies->callno; + if (!newcall || !new.sin_addr.s_addr || !new.sin_port) { +@@ -7235,7 +7235,7 @@ static int iax2_ack_registry(struct iax_ + + memset(&us, 0, sizeof(us)); + if (ies->apparent_addr) +- bcopy(ies->apparent_addr, &us, sizeof(us)); ++ memcpy(&us, ies->apparent_addr, sizeof(us)); + if (ies->username) + ast_copy_string(peer, ies->username, sizeof(peer)); + if (ies->refresh) |