X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Femail.c;h=5870ab1de1498593d4636973a65444d4e918d558;hb=d6021a800b12c89b5a78877af2c5b9abc1a8e609;hp=8fc5509f3e7e5ece33a15015b0ffa40fde6d6ede;hpb=0ebe3efc7b797546bcae87a946cff1c4cf472919;p=collectd.git diff --git a/src/email.c b/src/email.c index 8fc5509f..5870ab1d 100644 --- a/src/email.c +++ b/src/email.c @@ -376,6 +376,7 @@ static void *collect (void *arg) } /* while (1) */ pthread_exit ((void *)0); + return ((void *) 0); } /* static void *collect (void *) */ static void *open_connection (void __attribute__((unused)) *arg) @@ -548,7 +549,9 @@ static void *open_connection (void __attribute__((unused)) *arg) pthread_cond_signal (&conn_available); } - pthread_exit ((void *)0); + + pthread_exit ((void *) 0); + return ((void *) 0); } /* static void *open_connection (void *) */ static int email_init (void)