diff options
author | Anders Broman <anders.broman@ericsson.com> | 2011-09-26 11:33:10 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2011-09-26 11:33:10 +0000 |
commit | ab901be153637f37698e9501dac9d38b10bf46ec (patch) | |
tree | 66930c9969eccd09aa135bc6b8c3dde0967ec5ae /epan/dissectors/packet-dcom-remact.c | |
parent | fc447d3377db6a9a8e2cc519087f8054e85c143c (diff) |
Get rid of check_col, while at it set ENC.
svn path=/trunk/; revision=39148
Diffstat (limited to 'epan/dissectors/packet-dcom-remact.c')
-rw-r--r-- | epan/dissectors/packet-dcom-remact.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/epan/dissectors/packet-dcom-remact.c b/epan/dissectors/packet-dcom-remact.c index 0eb7552bd1..1953862fc5 100644 --- a/epan/dissectors/packet-dcom-remact.c +++ b/epan/dissectors/packet-dcom-remact.c @@ -183,11 +183,9 @@ dissect_remact_remote_activation_resp(tvbuff_t *tvb, int offset, offset = dissect_dcom_indexed_HRESULT(tvb, offset, pinfo, tree, drep, &u32HResult, u32Idx); /* update column info now */ - if (check_col(pinfo->cinfo, COL_INFO)) { - col_append_fstr(pinfo->cinfo, COL_INFO, " %s[%u]", - val_to_str(u32HResult, dcom_hresult_vals, "Unknown (0x%08x)"), - u32Idx); - } + col_append_fstr(pinfo->cinfo, COL_INFO, " %s[%u]", + val_to_str(u32HResult, dcom_hresult_vals, "Unknown (0x%08x)"), + u32Idx); u32Idx++; } @@ -195,10 +193,8 @@ dissect_remact_remote_activation_resp(tvbuff_t *tvb, int offset, &u32HResult); /* update column info now */ - if (check_col(pinfo->cinfo, COL_INFO)) { - col_append_fstr(pinfo->cinfo, COL_INFO, " -> %s", - val_to_str(u32HResult, dcom_hresult_vals, "Unknown (0x%08x)")); - } + col_append_fstr(pinfo->cinfo, COL_INFO, " -> %s", + val_to_str(u32HResult, dcom_hresult_vals, "Unknown (0x%08x)")); return offset; } |