CLEANUP: event_hdl: fix comment typo about _sync assertion
Fixing a comment relative to EVENT_HDL_ASSERT_SYNC macro where a
typo was made and the comment was lacking some context.
diff --git a/include/haproxy/event_hdl-t.h b/include/haproxy/event_hdl-t.h
index b8ef61a..9efb548 100644
--- a/include/haproxy/event_hdl-t.h
+++ b/include/haproxy/event_hdl-t.h
@@ -141,11 +141,12 @@
/* manage the subscription responsible for handing the event to us */
const struct event_hdl_sub_mgmt *sub_mgmt;
- /* used for the function wants to make sure
+ /* may be used by sync event handler to ensure
* it runs in sync mode, and thus is eligible to access unsafe data.
* This could save the day when users are copy-pasting function
* logic from a sync handler to an async handler without
* taking appropriate precautions and unsafe accesses are performed.
+ * (See EVENT_HDL_ASSERT_SYNC macro API helper)
*/
uint8_t _sync;
};