aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-11-22 01:07:13 -0800
committerGuy Harris <guy@alum.mit.edu>2014-11-22 09:07:46 +0000
commit741db4c751b44bfa4ab2dc0cb4bd882d4732c55c (patch)
tree9594367ff78ecfe47a4429b5ee2d12600c86fa8b /file.c
parentc68e77b8447b3323cf308d53d2cf7936714677a1 (diff)
Get rid of another global in the print code.
Pass the "output only these protocols" hash table as an argument, instead. Change-Id: Id8540943037e7b9bbfe377120c3f60dbe54fe0f1 Reviewed-on: https://code.wireshark.org/review/5440 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 8606b97a3d..d586090c3c 100644
--- a/file.c
+++ b/file.c
@@ -2495,7 +2495,7 @@ print_packet(capture_file *cf, frame_data *fdata,
}
/* Print the information in that tree. */
- if (!proto_tree_print(args->print_args, &args->edt, args->print_args->stream))
+ if (!proto_tree_print(args->print_args, &args->edt, NULL, args->print_args->stream))
goto fail;
/* Print a blank line if we print anything after this (aka more than one packet). */