aboutsummaryrefslogtreecommitdiffstats
path: root/src/types/filter.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-08-05 21:26:44 +0200
committerMattias Andrée <maandree@kth.se>2016-08-05 21:26:44 +0200
commit20e81300c63e41c3fc8bf7dea6f5438fcf92da55 (patch)
tree922342e6439f90ccd4e186a5a703314630d5ff17 /src/types/filter.h
parentFix memory leak (diff)
downloadcoopgammad-20e81300c63e41c3fc8bf7dea6f5438fcf92da55.tar.gz
coopgammad-20e81300c63e41c3fc8bf7dea6f5438fcf92da55.tar.bz2
coopgammad-20e81300c63e41c3fc8bf7dea6f5438fcf92da55.tar.xz
typo + state dumping
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/types/filter.h')
-rw-r--r--src/types/filter.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/types/filter.h b/src/types/filter.h
index c9e01bb..c91ccb2 100644
--- a/src/types/filter.h
+++ b/src/types/filter.h
@@ -40,21 +40,21 @@
enum lifespan
{
/**
- * The filter should be applied
- * until it is explicitly removed
+ * The filter should be removed now
*/
- LIFESPAN_UNTIL_REMOVAL,
+ LIFESPAN_REMOVE = 0,
/**
* The filter should be applied
- * until the client exists
+ * until it is explicitly removed
*/
- LIFESPAN_UNTIL_DEATH,
+ LIFESPAN_UNTIL_REMOVAL = 1,
/**
- * The filter should be removed now
+ * The filter should be applied
+ * until the client exists
*/
- LIFESPAN_REMOVE
+ LIFESPAN_UNTIL_DEATH = 2
};