fix git_otype typo when calling git_odb_read_header.

This commit is contained in:
Shuhei Tanuma 2011-05-15 20:07:54 +09:00
parent f02f4b536c
commit 71747bcae0

View File

@ -444,7 +444,7 @@ int git_odb_read_header(size_t *len_p, git_otype *type_p, git_odb *db, const git
return error;
*len_p = object->raw.len;
*type_p = object->raw.len;
*type_p = object->raw.type;
git_odb_object_close(object);
}