From 12a00ea821291c1927f8de1a3e66bcf40393f51a Mon Sep 17 00:00:00 2001
From: Andy Green <andy@warmcat.com>
Date: Wed, 16 Aug 2017 15:23:08 +0800
Subject: [PATCH] docs: swap _all_protocol_vhost cut and paste

https://github.com/warmcat/libwebsockets/issues/989
---
 lib/libwebsockets.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h
index 2a9fc6c1..05982f4c 100644
--- a/lib/libwebsockets.h
+++ b/lib/libwebsockets.h
@@ -3568,7 +3568,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.
  *
@@ -3585,8 +3585,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
-- 
GitLab