mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-05 21:00:33 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user