diff options
author | Anders Broman <anders.broman@ericsson.com> | 2010-04-05 20:04:52 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2010-04-05 20:04:52 +0000 |
commit | 7cfa27b04bc8564d8f2c747e7f78fe55bfa67de3 (patch) | |
tree | 486aa000656218e8390a9a31345c7d45e33cc062 /plugins/gryphon | |
parent | a5b180a3a84b778bf361b86bb71d987885a02cf4 (diff) |
Get rid of a bunch of check_col().
svn path=/trunk/; revision=32388
Diffstat (limited to 'plugins/gryphon')
-rw-r--r-- | plugins/gryphon/packet-gryphon.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/plugins/gryphon/packet-gryphon.c b/plugins/gryphon/packet-gryphon.c index a172aae682..c1ca99cf99 100644 --- a/plugins/gryphon/packet-gryphon.c +++ b/plugins/gryphon/packet-gryphon.c @@ -223,21 +223,19 @@ dissect_gryphon_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, frmtyp = flags & ~RESPONSE_FLAGS; if (!is_msgresp_add) { - /* - * This tvbuff includes padding to make its length a multiple - * of 4 bytes; set it to the actual length. - */ - set_actual_length(tvb, msglen + FRAME_HEADER_LEN); + /* + * This tvbuff includes padding to make its length a multiple + * of 4 bytes; set it to the actual length. + */ + set_actual_length(tvb, msglen + FRAME_HEADER_LEN); - if (check_col(pinfo->cinfo, COL_INFO)) { /* * Indicate what kind of message this is. */ if (frmtyp >= SIZEOF (frame_type)) - col_set_str(pinfo->cinfo, COL_INFO, "- Invalid -"); + col_set_str(pinfo->cinfo, COL_INFO, "- Invalid -"); else - col_set_str(pinfo->cinfo, COL_INFO, frame_type[frmtyp]); - } + col_set_str(pinfo->cinfo, COL_INFO, frame_type[frmtyp]); } if (tree == NULL) |