diff options
Diffstat (limited to 'epan/dissectors/packet-adb_service.c')
-rw-r--r-- | epan/dissectors/packet-adb_service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-adb_service.c b/epan/dissectors/packet-adb_service.c index 5d2db14c5f..14df595976 100644 --- a/epan/dissectors/packet-adb_service.c +++ b/epan/dissectors/packet-adb_service.c @@ -494,7 +494,7 @@ dissect_adb_service(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *d payload_length = tvb_get_letohs(next_tvb, i_offset); try_header_size = tvb_get_letohs(next_tvb, i_offset + 2); - if (try_header_size == 0 || try_header_size != 24) + if (try_header_size != 24) logcat_length = payload_length + 20; else logcat_length = payload_length + 24; |