Use memset cause something is wrong with the macro.

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@335 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
Andreas Schneider
2009-04-01 22:33:35 +00:00
parent 9ff4afa523
commit ff0f8b7608
3 changed files with 3 additions and 3 deletions

View File

@@ -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) {