Changeset 4542047 for filterelement.c


Ignore:
Timestamp:
Aug 15, 2009, 7:08:20 PM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
9e5c9f3
Parents:
bd65108
git-author:
Anders Kaseorg <andersk@mit.edu> (08/04/09 02:38:07)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:20)
Message:
Add const qualifiers for owl_filter *.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • filterelement.c

    rbd65108 r4542047  
    6666static int owl_filterelement_match_filter(const owl_filterelement *fe, const owl_message *m)
    6767{
    68   owl_filter *subfilter;
     68  const owl_filter *subfilter;
    6969  subfilter=owl_global_get_filter(&g, fe->field);
    7070  if (!subfilter) {
     
    286286static int fe_visited  = 1;
    287287
    288 int owl_filterelement_is_toodeep(owl_filter *f, const owl_filterelement *fe)
     288int owl_filterelement_is_toodeep(const owl_filter *f, const owl_filterelement *fe)
    289289{
    290290  int rv;
     
    303303{
    304304  int rv = 0;
    305   owl_filter *f;
     305  const owl_filter *f;
    306306
    307307  if(fe->match_message == owl_filterelement_match_filter) {
Note: See TracChangeset for help on using the changeset viewer.