X-Git-Url: https://arthur.barton.de/gitweb/?p=netdata.git;a=blobdiff_plain;f=src%2Frrdpush.c;h=069fae467eb8c8bec06b8bd73533749e1ac5d8da;hp=2dcbe9f57f3af64f8276f5a1b2857a2ca177f1ae;hb=168996d45a438651e8893c2763fce0e42437cfec;hpb=9d25e5b3d2da0903a888e48cdf49f4c22fcbe435 diff --git a/src/rrdpush.c b/src/rrdpush.c index 2dcbe9f5..069fae46 100644 --- a/src/rrdpush.c +++ b/src/rrdpush.c @@ -453,7 +453,7 @@ cleanup: if(pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL) != 0) error("STREAM %s [send]: cannot set pthread cancel state to ENABLE.", host->hostname); - + pthread_exit(NULL); return NULL; }