aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/cdt
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2007-10-23 05:50:00 +0000
committerAnders Broman <anders.broman@ericsson.com>2007-10-23 05:50:00 +0000
commit1950ffc2141ffdb7a0b8ec8291b0bf99ac12d9d6 (patch)
treea3358964f8621efae38bb4df4903f6b9f3f46ea5 /asn1/cdt
parente78cce5fbd7a11b0d3122b6d64968c15ea3106f8 (diff)
Apply the small performance enhancment patches for:
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster. Replace - col_append_fstr() with faster col_append_str() - col_add_str() with col_set_str() when it's safe svn path=/trunk/; revision=23252
Diffstat (limited to 'asn1/cdt')
-rw-r--r--asn1/cdt/cdt.cnf4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/cdt/cdt.cnf b/asn1/cdt/cdt.cnf
index 3ec13ff8ce..2502e6a553 100644
--- a/asn1/cdt/cdt.cnf
+++ b/asn1/cdt/cdt.cnf
@@ -76,7 +76,7 @@ CompressedData B "1.3.26.0.4406.0.4.2" "cdt"
expert_add_info_format (actx->pinfo, tf, PI_UNDECODED, PI_ERROR,
"Unable to get compressed content");
if (check_col (actx->pinfo->cinfo, COL_INFO))
- col_append_fstr (actx->pinfo->cinfo, COL_INFO,
+ col_append_str (actx->pinfo->cinfo, COL_INFO,
"[Error: Unable to get compressed content]");
return offset;
}
@@ -89,7 +89,7 @@ CompressedData B "1.3.26.0.4406.0.4.2" "cdt"
expert_add_info_format (actx->pinfo, tf, PI_UNDECODED, PI_ERROR,
"Unable to uncompress content");
if (check_col (actx->pinfo->cinfo, COL_INFO))
- col_append_fstr (actx->pinfo->cinfo, COL_INFO,
+ col_append_str (actx->pinfo->cinfo, COL_INFO,
"[Error: Unable to uncompress content]");
return offset;
}