aboutsummaryrefslogtreecommitdiffstats
path: root/src/types
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
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')
-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