Permalink
Browse files

No more warnings.

  • Loading branch information...
1 parent 4aeaeb2 commit 2a60bf95d029c955c4d3eaae8e42d0125d9dd7aa @residuum committed Apr 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 rest-json.c
View
@@ -90,7 +90,7 @@ static void *execute_rest_thread(void *thread_args) {
error("Cannot init curl.");
x->is_data_locked = 0;
}
- pthread_exit(NULL);
+ return NULL;
}
static void execute_rest(t_rest *x) {
@@ -179,7 +179,7 @@ static void *get_auth_token_thread(void *thread_args) {
freebytes(post_data, post_data_length * sizeof(char));
}
x->is_data_locked = 0;
- pthread_exit(NULL);
+ return NULL;
}
static void get_auth_token(t_rest *x) {

0 comments on commit 2a60bf9

Please sign in to comment.