aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtps.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2009-04-14 18:31:02 +0000
committerBill Meier <wmeier@newsguy.com>2009-04-14 18:31:02 +0000
commit871c9c715249df434c78ade9ab2c2455048e5567 (patch)
tree0d2073fa711550869135bdd135159a37630b865f /epan/dissectors/packet-rtps.c
parent14980f15921c20d581b39cc3c237e94a22bfce64 (diff)
ep_strbuf usage: ep_strbuf_new_label("") --> ep_strbuf_new_label(NULL);
ep_strbuf_append() --> ep_strbuf_append_c() in a few cases. svn path=/trunk/; revision=28052
Diffstat (limited to 'epan/dissectors/packet-rtps.c')
-rw-r--r--epan/dissectors/packet-rtps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rtps.c b/epan/dissectors/packet-rtps.c
index 9253357385..ad96562b0f 100644
--- a/epan/dissectors/packet-rtps.c
+++ b/epan/dissectors/packet-rtps.c
@@ -2619,7 +2619,7 @@ static gint rtps_util_add_typecode(proto_tree *tree,
/* Array print */
if (arr_dimension != NULL) {
/* Printing an array */
- emem_strbuf_t *dim_str = ep_strbuf_new_label("");
+ emem_strbuf_t *dim_str = ep_strbuf_new_label(NULL);
for (i = 0; i < MAX_ARRAY_DIMENSION; ++i) {
if (arr_dimension[i] != 0) {
ep_strbuf_append_printf(dim_str, "[%d]", arr_dimension[i]);
@@ -5893,7 +5893,7 @@ static gboolean dissect_rtps(tvbuff_t *tvb,
/* Compose the content of the 'summary' column */
if ((pinfo != NULL) && (pinfo->cinfo != NULL) &&
(check_col(pinfo->cinfo, COL_INFO))) {
- emem_strbuf_t *info_buf = ep_strbuf_new_label("");
+ emem_strbuf_t *info_buf = ep_strbuf_new_label(NULL);
struct SMCounterRecord *smcr_ptr = smcr_head;