doc: Fix threading documentation.

This commit is contained in:
Andreas Schneider 2011-09-17 21:32:08 +02:00
parent fa7798833a
commit 2cc95e1e08

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