summaryrefslogtreecommitdiff
path: root/ui/voip_calls.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-06-05 15:43:10 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2015-06-05 21:15:37 +0000
commit1ec868edddbca60e367f0681db8a5ee5aa32fe74 (patch)
tree2759a88e2b6bc3291b76f29894edde31c2b61124 /ui/voip_calls.c
parent244f2fbbf6c4167c75c4eb626aa8a73208ba3d8e (diff)
downloadwireshark-1ec868edddbca60e367f0681db8a5ee5aa32fe74.tar.gz
Fix a few issues reported by PVS-Studio
See http://www.viva64.com/en/b/0328/ for details Change-Id: Ic9ddfd690b49401c96cb8a4a277c671f9824be31 Reviewed-on: https://code.wireshark.org/review/8775 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'ui/voip_calls.c')
-rw-r--r--ui/voip_calls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/voip_calls.c b/ui/voip_calls.c
index c937b8c073..fcae969cff 100644
--- a/ui/voip_calls.c
+++ b/ui/voip_calls.c
@@ -1590,7 +1590,7 @@ q931_calls_packet(void *tap_offset_ptr, packet_info *pinfo, epan_dissect_t *edt,
/* check if the called number match a LRQ/LCF */
if ( (strcmp(callsinfo->to_identity, tmp_listinfo->to_identity)==0)
- && (memcmp(&tmp2_h323info->guid, &guid_allzero, GUID_LEN) == 0) ) {
+ && (memcmp(tmp2_h323info->guid, &guid_allzero, GUID_LEN) == 0) ) {
/* change the call graph to the LRQ/LCF to belong to this call */
callsinfo->npackets += change_call_num_graph(tapinfo, tmp_listinfo->call_num, callsinfo->call_num);