docs: lws_callback_all_protocol: fix cut-n-paste error and explain it is probably not what you want

This commit is contained in:
Andy Green 2017-03-15 07:29:55 +08:00
parent dca17ff614
commit f8a995e8d5

View file

@ -3605,8 +3605,12 @@ lws_callback_on_writable_all_protocol_vhost(const struct lws_vhost *vhost,
* \param reason: Callback reason index
*
* - Which: connections using this protocol on ALL VHOSTS
* - When: when the individual connection becomes writeable
* - When: before returning
* - What: reason
*
* This isn't normally what you want... normally any update of connection-
* specific information can wait until a network-related callback like rx,
* writable, or close.
*/
LWS_VISIBLE LWS_EXTERN int
lws_callback_all_protocol(struct lws_context *context,