diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-09-09 21:04:15 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-09-09 21:04:15 +0000 |
commit | ac69a72fda54ebc96ca4652b059208c0cdf9633a (patch) | |
tree | 9f1428595a5708196537277c9cd5107faec6a7ca /epan/epan.c | |
parent | 5e8ecbaf4650a35ee0c3e9240bbcedb7def95e2c (diff) |
"dfilter_prime_proto_tree()" doesn't modify the "dfilter_t" to which
it's handed a pointer, which means that "epan_dissect_prime_dfilter()"
doesn't do so either; make that argument a "const dfilter_t *" in both
cases.
svn path=/trunk/; revision=6239
Diffstat (limited to 'epan/epan.c')
-rw-r--r-- | epan/epan.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/epan.c b/epan/epan.c index 91e0ed944f..dece9175b6 100644 --- a/epan/epan.c +++ b/epan/epan.c @@ -1,9 +1,8 @@ /* epan.h * - * $Id: epan.c,v 1.20 2002/09/04 09:40:29 sahlberg Exp $ + * $Id: epan.c,v 1.21 2002/09/09 21:04:06 guy Exp $ * * Ethereal Protocol Analyzer Library - * */ #ifdef HAVE_CONFIG_H @@ -120,7 +119,7 @@ epan_dissect_free(epan_dissect_t* edt) } void -epan_dissect_prime_dfilter(epan_dissect_t *edt, dfilter_t* dfcode) +epan_dissect_prime_dfilter(epan_dissect_t *edt, const dfilter_t* dfcode) { dfilter_prime_proto_tree(dfcode, edt->tree); } |