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:
Vicent Martí 2013-01-10 06:01:00 -08:00
commit a22ad9fd1f

View File

@ -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)