aboutsummaryrefslogtreecommitdiffstats
path: root/src/types
diff options
context:
space:
mode:
Diffstat (limited to 'src/types')
-rw-r--r--src/types/filter.h14
-rw-r--r--src/types/message.h2
2 files changed, 8 insertions, 8 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
};
diff --git a/src/types/message.h b/src/types/message.h
index 00a2a50..0f1ade2 100644
--- a/src/types/message.h
+++ b/src/types/message.h
@@ -88,7 +88,7 @@ struct message
* 0 while reading headers, 1 while reading payload, and 2 when done (internal data)
*/
int stage;
-
+
#if INT_MAX != LONG_MAX
int padding__;
#endif