mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 01:45:11 +00:00
Merge pull request #1219 from sba1/fetch-example-return-fix
Don't call pthread_exit() in the callback of the fetch example
This commit is contained in:
commit
a22ad9fd1f
@ -42,7 +42,7 @@ static void *download(void *ptr)
|
||||
|
||||
exit:
|
||||
data->finished = 1;
|
||||
pthread_exit(&data->ret);
|
||||
return &data->ret;
|
||||
}
|
||||
|
||||
static int update_cb(const char *refname, const git_oid *a, const git_oid *b, void *data)
|
||||
|
Loading…
Reference in New Issue
Block a user