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

@@ -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;
}