aboutsummaryrefslogtreecommitdiff
path: root/libssh/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/session.c')
-rw-r--r--libssh/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/session.c b/libssh/session.c
index 7417ae9..4a623bf 100644
--- a/libssh/session.c
+++ b/libssh/session.c
@@ -46,7 +46,7 @@ SSH_SESSION *ssh_new(void) {
return NULL;
}
- memset(session, '0', sizeof(SSH_SESSION));
+ memset(session, 0, sizeof(SSH_SESSION));
session->next_crypto = crypto_new();
if (session->next_crypto == NULL) {