docs: swap _all_protocol_vhost cut and paste
authorAndy Green <andy@warmcat.com>
Wed, 16 Aug 2017 07:22:33 +0000 (15:22 +0800)
committerAndy Green <andy@warmcat.com>
Wed, 16 Aug 2017 07:22:33 +0000 (15:22 +0800)
https://github.com/warmcat/libwebsockets/issues/989

lib/libwebsockets.h

index ef8efca..66ca787 100644 (file)
@@ -3920,7 +3920,7 @@ lws_callback_on_writable(struct lws *wsi);
 
 /**
  * lws_callback_on_writable_all_protocol() - Request a callback for all
- *                     connections on same vhost using the given protocol when it
+ *                     connections using the given protocol when it
  *                     becomes possible to write to each socket without
  *                     blocking in turn.
  *
@@ -3937,8 +3937,8 @@ lws_callback_on_writable_all_protocol(const struct lws_context *context,
 
 /**
  * lws_callback_on_writable_all_protocol_vhost() - Request a callback for
- *                     all connections using the given protocol when it
- *                     becomes possible to write to each socket without
+ *                     all connections on same vhost using the given protocol
+ *                     when it becomes possible to write to each socket without
  *                     blocking in turn.
  *
  * \param vhost:       Only consider connections on this lws_vhost