aboutsummaryrefslogtreecommitdiffstats
path: root/dftest.c
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2021-09-29 12:29:11 +0100
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-09-29 11:37:14 +0000
commit42906f1246c00b9e167960bb8722339743a28484 (patch)
tree306b21318ee1dea8d51f5df471be26ea1df30c6a /dftest.c
parent93d49562c52bbbe864f0a024ef3793d3ccd8e039 (diff)
dftest: Don't use quotes to output filter
Using quotes is confusing because they are difficult to distinguish from the actual filter expression itself. Quotes are unnecessary anyway because whitespace is not significant (except inside brackets).
Diffstat (limited to 'dftest.c')
-rw-r--r--dftest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dftest.c b/dftest.c
index 1c0a4db6b0..1c7ba933b5 100644
--- a/dftest.c
+++ b/dftest.c
@@ -130,7 +130,7 @@ main(int argc, char **argv)
/* Get filter text */
text = get_args_as_string(argc, argv, 1);
- printf("Filter: \"%s\"\n", text);
+ printf("Filter: %s\n", text);
/* Compile it */
if (!dfilter_compile(text, &df, &err_msg)) {