X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fcommon_test.c;h=68958f3f15271db5b66c64dd189e12e2f1c50073;hb=354f9991530248e45207d236eb74c1cc3d5238ef;hp=399f8b533b2bcfdce28afa6b9c3a9f7573a89a75;hpb=6d64200e006f22ce3f1619251004fbe6cd674b91;p=collectd.git diff --git a/src/daemon/common_test.c b/src/daemon/common_test.c index 399f8b53..68958f3f 100644 --- a/src/daemon/common_test.c +++ b/src/daemon/common_test.c @@ -24,8 +24,8 @@ * Florian octo Forster */ -#include "testing.h" #include "common.h" +#include "testing.h" #if HAVE_LIBKSTAT kstat_ctl_t *kc; @@ -90,7 +90,6 @@ DEF_TEST(sstrdup) EXPECT_EQ_STR ("collectd", ptr); sfree(ptr); - OK(ptr == NULL); ptr = sstrdup (NULL); OK(ptr == NULL);