diff options
author | Evan Huus <eapache@gmail.com> | 2015-06-24 16:03:17 -0700 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2015-06-24 23:14:37 +0000 |
commit | f5b09f2c8af8d3f21adc89b2f19c47cdff65f775 (patch) | |
tree | 8ba908536d702156686d6de6c7b007d85eec757f /epan/print.c | |
parent | cf8eed97cb81668c974667d7ec96e747b2627773 (diff) |
print blank strings in -Tfields
I'm not 100% sure if this is really a good idea in all cases, but at least some
people want it.
Bug: 10906
Change-Id: I26e69a683781cdc6ba1cfcd6a41458bbca7ca2c0
Reviewed-on: https://code.wireshark.org/review/9108
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/print.c')
-rw-r--r-- | epan/print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/print.c b/epan/print.c index 423b7efb3c..e99ac08092 100644 --- a/epan/print.c +++ b/epan/print.c @@ -1247,7 +1247,7 @@ static void format_field_values(output_fields_t* fields, gpointer field_index, c guint indx; GPtrArray* fv_p; - if ((NULL == value) || ('\0' == *value)) + if (NULL == value) return; /* Unwrap change made to disambiguiate zero / null */ |