1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-07-02 22:02:25 +03:00

tidy-up: avoid expression 'of course'

Cherry-picked from #1017
This commit is contained in:
Viktor Szakats
2023-04-30 11:36:39 +00:00
parent 31851511bf
commit 5ee6d0ffbc
2 changed files with 9 additions and 11 deletions

View File

@ -36,8 +36,8 @@ cryptography library available. The library binary will be put in
Customising the build
---------------------
Of course, you might want to customise the build options. You can
pass the options to CMake on the command line:
You might want to customise the build options. You can pass the options
to CMake on the command line:
cmake -D<option>=<value> ..
@ -137,11 +137,10 @@ link the library with your binary.
find_package(Libssh2 REQUIRED CONFIG)
target_link_libraries(my_project_target Libssh2::libssh2)
Of course, you still have to make libssh2 available on your system
first. You can install it in the traditional way shown above, but you
do not have to. Instead you can build it, which will export its
location to the user package registry [3] where `find_package` will
find it.
You still have to make libssh2 available on your system first. You can
install it in the traditional way shown above, but you do not have to.
Instead you can build it, which will export its location to the user
package registry [3] where `find_package` will find it.
You can even combine the two steps using a so-called 'superbuild'
project [4] that downloads, builds and exports libssh2, and then

View File

@ -45,10 +45,9 @@
int rc = BLOCK_ADJUST_ERRNO(ptr, session, session_startup(session, sock));
The point of course being to make sure that while in non-blocking mode
these always return no matter what the return code is, but in blocking mode
it blocks if EAGAIN is the reason for the return from the underlying
function.
The point being to make sure that while in non-blocking mode these always
return no matter what the return code is, but in blocking mode it blocks
if EAGAIN is the reason for the return from the underlying function.
*/
#define BLOCK_ADJUST(rc, sess, x) \