diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2021-06-22 19:17:47 +0000 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-06-22 20:30:13 +0000 |
commit | c2bcb295ac2329a1c491a569ad8ad7eec4089050 (patch) | |
tree | 31504386c94bf884f6284ae27619a40a8ba59acd /epan/dissectors/packet-twamp.c | |
parent | 1ad0721c8cce6399cd1d7f57b6ed96fba26a9477 (diff) |
twamp: Fix extra parenthese
Diffstat (limited to 'epan/dissectors/packet-twamp.c')
-rw-r--r-- | epan/dissectors/packet-twamp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-twamp.c b/epan/dissectors/packet-twamp.c index ad9d0e00cc..4318f13ea4 100644 --- a/epan/dissectors/packet-twamp.c +++ b/epan/dissectors/packet-twamp.c @@ -249,8 +249,8 @@ dissect_twamp_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void sender_port = tvb_get_ntohs(tvb, 12); receiver_port = tvb_get_ntohs(tvb, 14); /* try to find session from past visits */ - if ((g_slist_find_custom(ct->sessions, &sender_port, - (GCompareFunc) find_twamp_session_by_sender_port)) == NULL) { + if (g_slist_find_custom(ct->sessions, &sender_port, + (GCompareFunc) find_twamp_session_by_sender_port) == NULL) { session = g_new0(twamp_session_t, 1); session->sender_port = sender_port; session->receiver_port = receiver_port; |