diff options
author | Anders Broman <anders.broman@ericsson.com> | 2010-01-13 20:25:10 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2010-01-13 20:25:10 +0000 |
commit | c4dd31cd8792c964cc6e0fa9bfc6ed03caa9aeb7 (patch) | |
tree | 3f74d12b3e1f71d1d0116091ca8cddf53479683a /epan/dissectors/packet-gift.c | |
parent | 37cb4333a449ef51fd9eab22b22713e4ba277f9b (diff) | |
download | wireshark-c4dd31cd8792c964cc6e0fa9bfc6ed03caa9aeb7.tar.gz |
From Didier Gautheron:
col_clear.diff
Remove calls to col_clear :
- called twice.
- before functions which also clear the column
- by replacing col_clear + col_append_xxx with col_add_xxx
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394
svn path=/trunk/; revision=31517
Diffstat (limited to 'epan/dissectors/packet-gift.c')
-rw-r--r-- | epan/dissectors/packet-gift.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-gift.c b/epan/dissectors/packet-gift.c index f099fe8258..db87df8064 100644 --- a/epan/dissectors/packet-gift.c +++ b/epan/dissectors/packet-gift.c @@ -70,9 +70,6 @@ dissect_gift(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) linelen = tvb_find_line_end(tvb, offset, -1, &next_offset, FALSE); line = tvb_get_ptr(tvb, offset, linelen); - /* clear the "Info" column */ - col_clear(pinfo->cinfo, COL_INFO); - /* set "Info" column text */ if (check_col(pinfo->cinfo, COL_INFO)) col_add_fstr(pinfo->cinfo, COL_INFO, "%s: %s", |