aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2011-12-20 21:53:50 +0000
committerStephen Fisher <steve@stephen-fisher.com>2011-12-20 21:53:50 +0000
commit4af334a5499d2f3859a897e59b0b99710f016a5c (patch)
treee59feabb22d9b05de9abf32418a6e079fddd2b66 /epan/proto.c
parent021448600874b5404fb3e0b00ad31f1feebde144 (diff)
Improve this error message (example output based on attachment in bug #6665):
OOPS: ',' in 'tpncp.fxs_ana,og_voltage_beading' Now: Invalid character ',' in filter name 'tpncp.fxs_ana,og_voltage_beading' svn path=/trunk/; revision=40256
Diffstat (limited to 'epan/proto.c')
-rw-r--r--epan/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c
index f677b10f90..72e2b3ac80 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -5026,7 +5026,7 @@ proto_register_field_init(header_field_info *hfinfo, const int parent)
* it must contain only alphanumerics, '-', "_", and ".". */
c = wrs_check_charset(fld_abbrev_chars, hfinfo->abbrev);
if (c) {
- fprintf(stderr, "OOPS: '%c' in '%s'\n", c, hfinfo->abbrev);
+ fprintf(stderr, "Invalid character '%c' in filter name '%s'\n", c, hfinfo->abbrev);
DISSECTOR_ASSERT(!c);
}