am 983b8bb0: am d9a16d6e: Merge change 23852 into eclair

Merge commit '983b8bb01c3abc8e338f7779ee62fd6aab2f56a0'

* commit '983b8bb01c3abc8e338f7779ee62fd6aab2f56a0':
  Fix a call to memset(3) with reversed arguments.
This commit is contained in:
Elliott Hughes 2009-09-09 16:27:33 -07:00 committed by Android Git Automerger
commit 1e5d3b6508
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ read_central_dir(Zipfile *file)
len = (buf+bufsize)-p;
for (i=0; i < file->totalEntryCount; i++) {
Zipentry* entry = malloc(sizeof(Zipentry));
memset(entry, sizeof(Zipentry), 0);
memset(entry, 0, sizeof(Zipentry));
err = read_central_directory_entry(file, entry, &p, &len);
if (err != 0) {