diff options
author | Michael Mann <mmann78@netscape.net> | 2013-06-14 17:49:53 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-06-14 17:49:53 +0000 |
commit | de68fd6eea9996ca8572220f379e376acd0181e2 (patch) | |
tree | c874b6fd18d5b571366c0e3017b58e1fb73f3266 /epan/dissectors/packet-mount.c | |
parent | 14b65f91a44b89ef460df391717b2a6ac317980d (diff) |
Removed check_col() and the occasional tree.
svn path=/trunk/; revision=49938
Diffstat (limited to 'epan/dissectors/packet-mount.c')
-rw-r--r-- | epan/dissectors/packet-mount.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/epan/dissectors/packet-mount.c b/epan/dissectors/packet-mount.c index fa23916462..5a02d56e2f 100644 --- a/epan/dissectors/packet-mount.c +++ b/epan/dissectors/packet-mount.c @@ -142,12 +142,10 @@ dissect_fhstatus(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree break; default: /* void */ - if (check_col(pinfo->cinfo, COL_INFO)) { - col_append_fstr( + col_append_fstr( pinfo->cinfo, COL_INFO, " Error:%s", val_to_str(status, mount3_mountstat3, "Unknown (0x%08X)")); - } break; } @@ -189,10 +187,7 @@ dissect_mount_dirpath_call(tvbuff_t *tvb, int offset, packet_info *pinfo, } offset = dissect_rpc_string(tvb,tree,hf_mount_path,offset,&mountpoint); - if (check_col(pinfo->cinfo, COL_INFO)) { - col_append_fstr(pinfo->cinfo, COL_INFO," %s", mountpoint); - } - + col_append_fstr(pinfo->cinfo, COL_INFO," %s", mountpoint); return offset; } @@ -530,12 +525,10 @@ dissect_mountstat3(packet_info *pinfo, tvbuff_t *tvb, proto_tree *tree, int offs mountstat3 = tvb_get_ntohl(tvb, offset); if(mountstat3){ - if (check_col(pinfo->cinfo, COL_INFO)) { - col_append_fstr( + col_append_fstr( pinfo->cinfo, COL_INFO, " Error:%s", val_to_str(mountstat3, mount3_mountstat3, "Unknown (0x%08X)")); - } } offset = dissect_rpc_uint32(tvb,tree,hfindex,offset); |