aboutsummaryrefslogtreecommitdiff
path: root/libssh/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/buffer.c')
-rw-r--r--libssh/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/buffer.c b/libssh/buffer.c
index e55f0b8..7e4a80f 100644
--- a/libssh/buffer.c
+++ b/libssh/buffer.c
@@ -44,7 +44,7 @@ struct buffer_struct *buffer_new(void) {
if (buf == NULL) {
return NULL;
}
- ZERO_STRUCTP(buf);
+ memset(buf, 0, sizeof(struct buffer_struct));
return buf;
}