From cbe63d43dff54f3dea7f1985d46521278b099b6c Mon Sep 17 00:00:00 2001 From: Deomid Ryabkov Date: Thu, 21 Jul 2016 18:11:25 +0300 Subject: [PATCH] Prevent repeated invocation of Clubby handler PUBLISHED_FROM=de348f944de60d116d9d1f5d18e920991c811fa8 --- docs/c-api/net.h/intro.md | 4 ++-- docs/c-api/net.h/mg_event_handler_t.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/c-api/net.h/intro.md b/docs/c-api/net.h/intro.md index aa93e440..10df58ba 100644 --- a/docs/c-api/net.h/intro.md +++ b/docs/c-api/net.h/intro.md @@ -34,7 +34,7 @@ items: NOTE: Mongoose manager is single threaded. It does not protect its data structures by mutexes, therefore all functions that are dealing -with particular event manager should be called from the same thread, -with exception of `mg_broadcast()` function. It is fine to have different +with a particular event manager should be called from the same thread, +with exception of the `mg_broadcast()` function. It is fine to have different event managers handled by different threads. diff --git a/docs/c-api/net.h/mg_event_handler_t.md b/docs/c-api/net.h/mg_event_handler_t.md index 79a5ffd9..af94bb0e 100644 --- a/docs/c-api/net.h/mg_event_handler_t.md +++ b/docs/c-api/net.h/mg_event_handler_t.md @@ -6,6 +6,6 @@ signature: | typedef void (*mg_event_handler_t)(struct mg_connection *, int ev, void *); --- -Callback function (event handler) prototype, must be defined by user. -Mongoose calls event handler, passing events defined below. +Callback function (event handler) prototype. Must be defined by the user. +Mongoose calls the event handler, passing events defined below.