aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/voip_calls.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2007-04-26 05:47:34 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2007-04-26 05:47:34 +0000
commit674aea82fda95d4a9b0d2039efee325505fa3f9b (patch)
tree08f289acdb69fecac9c8bdab61088024b637b5c7 /gtk/voip_calls.c
parent7a7edc18e30a5a01d1d5c6336b7ed27be553d812 (diff)
memmove() is needed only if the source and destination might overlap.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21592 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/voip_calls.c')
-rw-r--r--gtk/voip_calls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/voip_calls.c b/gtk/voip_calls.c
index b3f982a196..75ffe8d5aa 100644
--- a/gtk/voip_calls.c
+++ b/gtk/voip_calls.c
@@ -1840,7 +1840,7 @@ H225calls_packet(void *ptr _U_, packet_info *pinfo, epan_dissect_t *edt _U_, con
h245_add->h245_address.type=AT_IPv4;
h245_add->h245_address.len=4;
h245_add->h245_address.data = g_malloc(sizeof(pi->h245_address));
- g_memmove((void *)(h245_add->h245_address.data), &(pi->h245_address), 4);
+ memcpy((void *)(h245_add->h245_address.data), &(pi->h245_address), 4);
h245_add->h245_port = pi->h245_port;
add_h245_Address(tmp_h323info, h245_add);
}