diff options
author | Bill Meier <wmeier@newsguy.com> | 2009-04-14 18:31:02 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2009-04-14 18:31:02 +0000 |
commit | 871c9c715249df434c78ade9ab2c2455048e5567 (patch) | |
tree | 0d2073fa711550869135bdd135159a37630b865f /epan/dissectors/packet-enttec.c | |
parent | 14980f15921c20d581b39cc3c237e94a22bfce64 (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-enttec.c')
-rw-r--r-- | epan/dissectors/packet-enttec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-enttec.c b/epan/dissectors/packet-enttec.c index 018cb5970e..67d2b70331 100644 --- a/epan/dissectors/packet-enttec.c +++ b/epan/dissectors/packet-enttec.c @@ -278,11 +278,11 @@ dissect_enttec_dmx_data(tvbuff_t *tvb, guint offset, proto_tree *tree) si = proto_item_add_subtree(hi, ett_enttec); row_count = (ui/global_disp_col_count) + ((ui%global_disp_col_count) == 0 ? 0 : 1); - dmx_epstr = ep_strbuf_new_label(""); + dmx_epstr = ep_strbuf_new_label(NULL); for (r=0; r < row_count;r++) { for (c=0;(c < global_disp_col_count) && (((r*global_disp_col_count)+c) < ui);c++) { if ((c % (global_disp_col_count/2)) == 0) { - ep_strbuf_append(dmx_epstr, " "); + ep_strbuf_append_c(dmx_epstr, ' '); } v = dmx_data[(r*global_disp_col_count)+c]; if (global_disp_chan_val_type == 0) { |