1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-08 19:02:06 +03:00

doc: Fix threading documentation.

(cherry picked from commit 2cc95e1e08)
This commit is contained in:
Andreas Schneider
2011-09-17 21:32:08 +02:00
parent d6390d50bf
commit 3799670d01

View File

@@ -25,7 +25,7 @@ use, using ssh_threads_set_callbacks(), then call ssh_init().
@code
#include <libssh/callbacks.h>
...
ssh_threads_set_callbacks(ssh_threads_noop);
ssh_threads_set_callbacks(ssh_threads_get_noop());
ssh_init();
@endcode
@@ -40,7 +40,7 @@ threading backend:
@code
#include <libssh/callbacks.h>
...
ssh_threads_set_callbacks(ssh_threads_pthread);
ssh_threads_set_callbacks(ssh_threads_get_pthread());
ssh_init();
@endcode