From 66fb79ffe25faa3589ce7991a805dd3e63891c3e Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Thu, 10 Nov 2016 14:45:40 +0100 Subject: [PATCH] fixed doc --- CMakeLists.txt | 2 +- README.md | 3 ++- src/uvw/stream.hpp | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 105feaf4..cf493a37 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -135,7 +135,7 @@ include(CPack) file( GLOB_RECURSE PROJECT_FILES FOLLOW_SYMLINKS - *.txt *.c *.cpp *.hpp *.h *.in *.cmake *.sh Makefile *.md + *.txt *.c *.cpp *.hpp *.h *.in *.cmake *.sh *.md AUTHORS ) add_custom_target( diff --git a/README.md b/README.md index 260a7d67..569da201 100644 --- a/README.md +++ b/README.md @@ -253,7 +253,8 @@ Federico Bertolucci aka [lessness](https://github.com/lessness)
Luca Martini aka [lordlukas](https://github.com/lucamartini)
Elia Mazzuoli aka [Zikoel](https://github.com/Zikoel)
Francesco De Felice aka [fradefe](https://github.com/fradefe)
-Tushar Maheshwari aka [tusharpm](https://github.com/tusharpm) +Tushar Maheshwari aka [tusharpm](https://github.com/tusharpm)
+Paolo Monteverde aka [morbo84](https://github.com/morbo84) If you want to contribute, please send patches as pull requests against the branch master. diff --git a/src/uvw/stream.hpp b/src/uvw/stream.hpp index 5f46c9b4..59b2019a 100644 --- a/src/uvw/stream.hpp +++ b/src/uvw/stream.hpp @@ -209,7 +209,7 @@ public: /** * @brief Starts listening for incoming connections. * - * When a new incoming connection is received, a ConnectEvent event is + * When a new incoming connection is received, a ListenEvent event is * emitted.
* An ErrorEvent event will be emitted in case of errors. * @@ -224,15 +224,15 @@ public: * @brief Accepts incoming connections. * * This call is used in conjunction with `listen()` to accept incoming - * connections. Call this function after receiving a ConnectEvent event to + * connections. Call this function after receiving a ListenEvent event to * accept the connection. Before calling this function, the submitted handle * must be initialized.
* An ErrorEvent event will be emitted in case of errors. * - * When the ConnectEvent event is emitted it is guaranteed that this + * When the ListenEvent event is emitted it is guaranteed that this * function will complete successfully the first time. If you attempt to use * it more than once, it may fail.
- * It is suggested to only call this function once per ConnectEvent event. + * It is suggested to only call this function once per ListenEvent event. * * **Note**: both the handles must be running on the same loop. *