aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cdp.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-10-22 15:49:32 +0000
committerEvan Huus <eapache@gmail.com>2013-10-22 15:49:32 +0000
commitbcadba5f4b9ea6bc01fa2dbd65d51fbf4dc4f9d0 (patch)
treea7dadd48f4ea99496a86e2c368f64738dffe24ef /epan/dissectors/packet-cdp.c
parent1684ac969bec7f62112a7e6614362c7788ff7870 (diff)
Revert r52730, it is unnecessary with r52695 reverted.
svn path=/trunk/; revision=52764
Diffstat (limited to 'epan/dissectors/packet-cdp.c')
-rw-r--r--epan/dissectors/packet-cdp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-cdp.c b/epan/dissectors/packet-cdp.c
index 731f1e8d34..36be282927 100644
--- a/epan/dissectors/packet-cdp.c
+++ b/epan/dissectors/packet-cdp.c
@@ -1200,7 +1200,6 @@ add_multi_line_string_to_tree(proto_tree *tree, tvbuff_t *tvb, gint start,
blanks[i] = '\0';
while (len > 0) {
line_len = tvb_find_line_end(tvb, start, len, &next, FALSE);
- if (line_len == 0) next++;
data_len = next - start;
proto_tree_add_text(tree, tvb, start, data_len, "%s%s", prefix,
tvb_format_stringzpad(tvb, start, line_len));