]> git.proxmox.com Git - libgit2.git/commit
Don't call pthread_exit() in the callback.
authorSebastian Bauer <mail@sebastianbauer.info>
Thu, 10 Jan 2013 11:39:17 +0000 (12:39 +0100)
committerSebastian Bauer <mail@sebastianbauer.info>
Thu, 10 Jan 2013 11:39:17 +0000 (12:39 +0100)
commitcea994b902c7c98f5f16341686d30a40e32dfc95
tree83086592cbe225dd77db00d6b87a559706c5ce3f
parent252b24049cf7018ba80c736fda636c53c465fbd2
Don't call pthread_exit() in the callback.

Compilers that are not aware that pthread_exit() does not return
issue a warning when compiling the present code. This change
exchanges the call to pthread_exit() with a simple return
statement. According to the pthread specification this is
equivalent.
examples/network/fetch.c