diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-01 22:33:35 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-01 22:33:35 +0000 |
commit | ff0f8b760850a734bc0c92fe1ebc55deeecb5a70 (patch) | |
tree | 80586114855cca871670973be101a2a44a421575 /libssh/session.c | |
parent | 9ff4afa523056b41bd0d2fdd85409a9f23a13a85 (diff) | |
download | libssh-ff0f8b760850a734bc0c92fe1ebc55deeecb5a70.tar.gz libssh-ff0f8b760850a734bc0c92fe1ebc55deeecb5a70.tar.xz libssh-ff0f8b760850a734bc0c92fe1ebc55deeecb5a70.zip |
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
Diffstat (limited to 'libssh/session.c')
-rw-r--r-- | libssh/session.c | 2 |
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) { |