diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-10-23 17:34:41 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-11-07 21:36:40 +0100 |
commit | bc540ff79173b3182206db5eb322048626b81119 (patch) | |
tree | 4b2cb3c08f07ff7062dc1a033b4554a79bd418b8 /examples/network/git2.c | |
parent | 4e1b3b3b7186b017223b8302a51289ff92ccba25 (diff) | |
download | libgit2-cmn/global-init.tar.gz |
Rename git_threads_ to git_libgit2_cmn/global-init
This describes their purpose better, as we now initialize ssl and some
other global stuff in there. Calling the init function is not something
which has been optional for a while now.
Diffstat (limited to 'examples/network/git2.c')
-rw-r--r-- | examples/network/git2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/git2.c b/examples/network/git2.c index 5b32ac809..d44334b85 100644 --- a/examples/network/git2.c +++ b/examples/network/git2.c @@ -54,7 +54,7 @@ int main(int argc, char **argv) exit(EXIT_FAILURE); } - git_threads_init(); + git_libgit2_init(); for (i = 0; commands[i].name != NULL; ++i) { if (!strcmp(argv[1], commands[i].name)) |