X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fping.c;h=89e407b2467ae8893666db32eaf5411184164fd6;hb=61a4ed99b1a5b6d371bb745933d0efc5dff9505c;hp=b619e37abf94c354af53cad79fface07371dd6b9;hpb=f42de42e5caa71fd8da9e79eb452ade6e9f20519;p=collectd.git diff --git a/src/ping.c b/src/ping.c index b619e37a..89e407b2 100644 --- a/src/ping.c +++ b/src/ping.c @@ -298,7 +298,7 @@ static void *ping_thread(void *arg) /* {{{ */ pthread_mutex_lock(&ping_lock); while (ping_thread_loop > 0) { - _Bool send_successful = 0; + bool send_successful = 0; if (gettimeofday(&tv_begin, NULL) < 0) { ERROR("ping plugin: gettimeofday failed: %s", STRERRNO);