diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-09-27 12:05:32 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-09-27 12:05:32 +0000 |
commit | 63ca2d8e8816da9eeb9d0bc925b695f66f82acc2 (patch) | |
tree | ebe659ee68bac8dfe3b2a17f5f0aef8b491af7cc /asn1/tcap/tcap.cnf | |
parent | fd78ef1acbf29a1ddfba9f47ec50a50c8f2225d6 (diff) |
Get rid of check_col, while at it set ENC.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39164 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'asn1/tcap/tcap.cnf')
-rw-r--r-- | asn1/tcap/tcap.cnf | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/asn1/tcap/tcap.cnf b/asn1/tcap/tcap.cnf index d0d39c28e0..74b9f06ccd 100644 --- a/asn1/tcap/tcap.cnf +++ b/asn1/tcap/tcap.cnf @@ -141,7 +141,7 @@ if (parameter_tvb){ break; } - if ((len)&&(check_col(actx->pinfo->cinfo, COL_INFO))){ + if (len){ col_append_str(actx->pinfo->cinfo, COL_INFO, "otid("); for(i=0;i<len;i++) col_append_fstr(actx->pinfo->cinfo, COL_INFO, "%%02x",tvb_get_guint8(parameter_tvb,i)); @@ -180,7 +180,7 @@ if (parameter_tvb){ break; } - if ((len)&&(check_col(actx->pinfo->cinfo, COL_INFO))){ + if (len){ col_append_str(actx->pinfo->cinfo, COL_INFO, "dtid("); for(i=0;i<len;i++) col_append_fstr(actx->pinfo->cinfo, COL_INFO, "%%02x",tvb_get_guint8(parameter_tvb,i)); @@ -197,30 +197,26 @@ gp_tcapsrt_info->ope=TC_BEGIN; * If there's something there that should not be overwritten, whoever * put that info there should call col_set_fence() to protect it. */ -if (check_col(actx->pinfo->cinfo, COL_INFO)) - col_set_str(actx->pinfo->cinfo, COL_INFO, "Begin "); + col_set_str(actx->pinfo->cinfo, COL_INFO, "Begin "); #.END #.FN_HDR End gp_tcapsrt_info->ope=TC_END; -if (check_col(actx->pinfo->cinfo, COL_INFO)) - col_set_str(actx->pinfo->cinfo, COL_INFO, "End "); + col_set_str(actx->pinfo->cinfo, COL_INFO, "End "); #.END #.FN_HDR Continue gp_tcapsrt_info->ope=TC_CONT; -if (check_col(actx->pinfo->cinfo, COL_INFO)) - col_set_str(actx->pinfo->cinfo, COL_INFO, "Continue "); + col_set_str(actx->pinfo->cinfo, COL_INFO, "Continue "); #.END #.FN_HDR Abort gp_tcapsrt_info->ope=TC_ABORT; -if (check_col(actx->pinfo->cinfo, COL_INFO)) - col_set_str(actx->pinfo->cinfo, COL_INFO, "Abort "); + col_set_str(actx->pinfo->cinfo, COL_INFO, "Abort "); #.END |