summaryrefslogtreecommitdiff
path: root/src/op.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/op.h')
-rw-r--r--src/op.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op.h b/src/op.h
index ccb1932..d7c196d 100644
--- a/src/op.h
+++ b/src/op.h
@@ -7,7 +7,7 @@
/* ergonomic helper for submitting a thunk_t as a cb+cb_data pair to iou_op_queue() */
static inline void op_queue(iou_t *iou, iou_op_t *op, thunk_t *thunk)
{
- return iou_op_queue(iou, op, (int (*)(void *))thunk->dispatch, thunk);
+ return iou_op_queue(iou, op, (int (*)(void *))thunk_dispatch, thunk);
}
#endif
© All Rights Reserved