]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-fts: Add max_length to common filter struct. Reorder fields.
authorTeemu Huovila <teemu.huovila@dovecot.fi>
Wed, 17 Aug 2016 13:47:19 +0000 (16:47 +0300)
committerTeemu Huovila <teemu.huovila@dovecot.fi>
Mon, 22 Aug 2016 20:03:16 +0000 (23:03 +0300)
The latter is for for imaginary alignment enhancements.

src/lib-fts/fts-filter-private.h

index bfe8c58df8ce0f23f99688bc4a46251cea96bbed..ea8685b81b23bd6bbce5c02ee09ab3c4038baf7a 100644 (file)
@@ -26,9 +26,10 @@ struct fts_filter_vfuncs {
 struct fts_filter {
        const char *class_name; /* name of the class this is based on */
        struct fts_filter_vfuncs v;
-       int refcount;
        struct fts_filter *parent;
        string_t *token;
+       size_t max_length;
+       int refcount;
 };
 
 #endif