diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-09-17 21:32:08 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-09-17 21:32:43 +0200 |
commit | 3799670d01f4faa68b6ab8055250bc042d707b29 (patch) | |
tree | 71b682062ff439096bef3840a46347c9afa089d6 | |
parent | d6390d50bf864bc35b696066effdca995ffd1d3a (diff) | |
download | libssh-3799670d01f4faa68b6ab8055250bc042d707b29.tar.gz libssh-3799670d01f4faa68b6ab8055250bc042d707b29.tar.xz libssh-3799670d01f4faa68b6ab8055250bc042d707b29.zip |
doc: Fix threading documentation.
(cherry picked from commit 2cc95e1e088553a94b0a8e07c458b1bc0a60d9b1)
-rw-r--r-- | doc/threading.dox | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/threading.dox b/doc/threading.dox index 4860f54b..a11c82f7 100644 --- a/doc/threading.dox +++ b/doc/threading.dox @@ -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 |