Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-01-13 21:20:13 +0400
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-01-13 21:20:13 +0400
commit2866c016853b5e5006d3e02758cbb8d9e1857347 (patch)
treec330a10273fd46449c078e48f3f8b95342ed2092 /examples/general.c
parent7e443f696068cd8c84a759e532c2845348e5a6ad (diff)
examples: use git_repository_odb instead of _database
Diffstat (limited to 'examples/general.c')
-rw-r--r--examples/general.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/general.c b/examples/general.c
index c67ff6f64..0a908bc48 100644
--- a/examples/general.c
+++ b/examples/general.c
@@ -74,7 +74,7 @@ int main (int argc, char** argv)
// repository.
// [odb]: http://libgit2.github.com/libgit2/#HEAD/group/odb
git_odb *odb;
- odb = git_repository_database(repo);
+ git_repository_odb(&odb, repo);
// #### Raw Object Reading