Logic error

svn path=/trunk/; revision=23220
This commit is contained in:
Jaap Keuter 2007-10-17 18:25:49 +00:00
parent 565fe87ad1
commit 7d2c0c1b61
2 changed files with 2 additions and 2 deletions

View file

@ -2710,7 +2710,7 @@ dissect_docsis_cm_cap(proto_tree *v_tree, tvbuff_t *tvb, int voff, int len)
proto_item_append_text(ti,
"802.1Q filtering");
}
if (! raw_val & 0x03)
if (!(raw_val & 0x03))
proto_item_append_text(ti,
"None");
proto_item_append_text(ti,

View file

@ -2483,7 +2483,7 @@ dissect_pvfs2_getconfig_response(tvbuff_t *tvb, proto_tree *parent_tree,
}
if ((entry_length == bufsiz) &&
((entry[entry_length - 1] != '\n') ||
((entry[entry_length - 1] != '\n') &&
(entry[entry_length - 1] != '\0')))
{
/*