mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
resolve callback crash
This commit is contained in:
@@ -79,7 +79,7 @@ typedef struct ssh_callbacks_struct * ssh_callbacks;
|
||||
* evolves with time.
|
||||
*/
|
||||
#define ssh_callbacks_init(p) do {\
|
||||
p->size=sizeof(*p); \
|
||||
(p)->size=sizeof(*(p)); \
|
||||
} while(0);
|
||||
|
||||
LIBSSH_API int ssh_set_callbacks(ssh_session session, ssh_callbacks cb);
|
||||
|
||||
Reference in New Issue
Block a user