aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-26 14:35:06 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-26 14:35:06 +0000
commit9b3148457fb4ac40de3579284421cc6d9d3057e3 (patch)
tree0b031d57b2065dc114d24a30117322ea8847aac4 /epan/proto.c
parentd0a9c1a02dadfcc4ca91fac2a5882b5a894f0ddb (diff)
proto_registrar_dump_fields: output "" for blurb if blurb is a zero-length string.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32975 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/proto.c')
-rw-r--r--epan/proto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/proto.c b/epan/proto.c
index 81a1a57223..0d902b51bf 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -6070,6 +6070,8 @@ proto_registrar_dump_fields(const int format)
blurb = hfinfo->blurb;
if (blurb == NULL)
blurb = "";
+ else if (strlen(blurb) == 0)
+ blurb = "\"\"";
if (format == 1) {
printf("F\t%s\t%s\t%s\t%s\t%s\n",
hfinfo->name, hfinfo->abbrev, enum_name,