aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-08-17 01:01:48 +0000
committerBill Meier <wmeier@newsguy.com>2010-08-17 01:01:48 +0000
commit09e845ba0329ee06876302c553e45bb345769a3d (patch)
tree58d446f13c035d52f0c3f7d892f87fc5b6d241da /epan
parent3398f734558ec5bf5f427c2fe6a5d76407366835 (diff)
Fix two typos/bugs (introduced by me in the previous commit).
svn path=/trunk/; revision=33825
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-fcgi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-fcgi.c b/epan/dissectors/packet-fcgi.c
index 2b45afcedf..46623e829b 100644
--- a/epan/dissectors/packet-fcgi.c
+++ b/epan/dissectors/packet-fcgi.c
@@ -116,7 +116,7 @@ dissect_nv_pairs(tvbuff_t *tvb, proto_tree *fcgi_tree, gint offset, guint16 len)
if ((namelen & 0x80) == 0) {
offset += 1;
} else {
- namelen = tvb_get_ntohl(tvb, offset) && 0x7FFFFFFF;
+ namelen = tvb_get_ntohl(tvb, offset) & 0x7FFFFFFF;
offset += 4;
}
@@ -124,7 +124,7 @@ dissect_nv_pairs(tvbuff_t *tvb, proto_tree *fcgi_tree, gint offset, guint16 len)
if ((valuelen & 0x80) == 0) {
offset += 1;
} else {
- valuelen = tvb_get_ntohl(tvb, offset) && 0x7FFFFFF;
+ valuelen = tvb_get_ntohl(tvb, offset) & 0x7FFFFFFF;
offset += 4;
}