File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ or poll() in cli_loop(). The default is to use the legacy 'select()' call.
1616If built with 'CFLAGS=-DLIBCLI_USE_POLL make' then the poll() system call will
1717be used instead. One additional check is being made now in cli_loop() to
1818ensure that the passed file descriptor is in range. If not, an error message
19- will be sent and cli_loop() will exit with CLI_ERROR.
19+ will be sent and the cli_loop() will exit in the child process with CLI_ERROR.
2020
2121This will install ` libcli.so ` into ` /usr/local/lib ` . If you want to change the
2222location, edit Makefile.
@@ -111,7 +111,7 @@ process or thread to run the cli. Once you are ready to process the
111111connection, call `cli_loop(cli, sock)` to interact with the user on the
112112given socket. Note that as mentioned above, if the select() call is used and
113113sock is out of range (>= FD_SETSIZE) then cli_loop() will display an error in
114- both the parent process and to the remote TCP connection before exiting.
114+ both the parent process and to the remote TCP connection before exiting that routine .
115115
116116This function will return when the user exits the cli, either by breaking the
117117connection or entering `quit`.
You can’t perform that action at this time.
0 commit comments