diff options
| author | Shuhei Tanuma <shuhei.tanuma@gmail.com> | 2011-05-15 20:07:54 +0900 |
|---|---|---|
| committer | Shuhei Tanuma <shuhei.tanuma@gmail.com> | 2011-05-15 20:07:54 +0900 |
| commit | 71747bcae034d2b0230b5f38c80eb3d185a63b42 (patch) | |
| tree | acac1a1cb8e80e77e9a9e426e4d71c874d7d9dde /src/odb.c | |
| parent | f02f4b536cfb5170a8ddc6d0e3b47631defd55ef (diff) | |
| download | libgit2-71747bcae034d2b0230b5f38c80eb3d185a63b42.tar.gz | |
fix git_otype typo when calling `git_odb_read_header`.
Diffstat (limited to 'src/odb.c')
| -rw-r--r-- | src/odb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |
