aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-hreq.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-hreq.h')
-rw-r--r--src/afb-hreq.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afb-hreq.h b/src/afb-hreq.h
index d4041d76..8e12b62d 100644
--- a/src/afb-hreq.h
+++ b/src/afb-hreq.h
@@ -23,6 +23,10 @@ struct hreq_data;
struct afb_hsrv;
struct afb_hreq {
+ /*
+ * CAUTION: 'context' field should be the first because there
+ * is an implicit convertion to struct afb_context
+ */
struct afb_context context;
int refcount;
struct afb_hsrv *hsrv;