don't use errx() since that require libroken

This commit is contained in:
Love Hornquist Astrand
2011-09-23 13:15:50 +02:00
parent df1e4c388a
commit d92ade5be9

View File

@@ -127,9 +127,10 @@ test_string(void)
s1 = heim_string_create(string);
s2 = heim_string_create(string);
if (heim_cmp(s1, s2) != 0)
errx(1, "the same string is not the same");
if (heim_cmp(s1, s2) != 0) {
printf("the same string is not the same\n");
exit(1);
}
heim_release(s1);
heim_release(s2);