aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-jxta.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-06-23 23:44:17 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-06-23 23:44:17 +0000
commit4d58a95a2805620bc4b2b1284ac5e1d9aced8167 (patch)
tree46c9898af5c9e82022922eb0d8e0175c9513a066 /epan/dissectors/packet-jxta.c
parent51d4edd48fe82a168ac3c1abe6bc506290079c6f (diff)
coverity 172
remove a dead code condition git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18565 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-jxta.c')
-rw-r--r--epan/dissectors/packet-jxta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-jxta.c b/epan/dissectors/packet-jxta.c
index 97ea9fd34b..31e6daba8c 100644
--- a/epan/dissectors/packet-jxta.c
+++ b/epan/dissectors/packet-jxta.c
@@ -402,7 +402,7 @@ static gboolean dissect_jxta_TCP_heur(tvbuff_t * tvb, packet_info * pinfo, proto
save_desegment_offset = pinfo->desegment_offset;
save_desegment_len = pinfo->desegment_len;
ret = dissect_jxta_stream(tvb, pinfo, tree);
- if (ret <= 0) {
+ if (ret < 0) {
/*
* A heuristic dissector for a TCP-based protocol can reject
* a packet, or it can request that more data be provided.