aboutsummaryrefslogtreecommitdiffstats
path: root/epan/print.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2015-04-04 13:34:11 +0200
committerMartin Kaiser <wireshark@kaiser.cx>2015-04-04 11:36:12 +0000
commit66c4c14ceb5d3881b211d3c7557ba755bc385dbe (patch)
tree88604953f628360b43a308af0635a3241d77dadc /epan/print.c
parent37c41d7927d253882fdb97df4692d75306c70c2b (diff)
we may see an empty option string in output_fields_set_option()
Change-Id: I45a4cbef7cb38a851c207fbe26ff412ffc502240 Reviewed-on: https://code.wireshark.org/review/7903 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan/print.c')
-rw-r--r--epan/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/print.c b/epan/print.c
index 5dd4800980..8e3794c5cd 100644
--- a/epan/print.c
+++ b/epan/print.c
@@ -1110,7 +1110,7 @@ gboolean output_fields_set_option(output_fields_t *info, gchar *option)
g_assert(option);
if ('\0' == *option) {
- return FALSE; /* Is this guarded against by option parsing? */
+ return FALSE; /* this happens if we're called from tshark -E '' */
}
option_name = strtok(option, "=");
if (!option_name) {