use streq instead of strcmp

This commit is contained in:
Thomas Hindoe Paaboel Andersen
2013-02-13 18:14:20 +01:00
parent b05105f0a8
commit 090be86534
22 changed files with 66 additions and 66 deletions
+2 -2
View File
@@ -31,8 +31,8 @@ static void test_syslog_parse_identifier(const char* str,
ret2 = syslog_parse_identifier(&buf, &ident2, &pid2);
assert(ret == ret2);
assert(ident==ident2 || !strcmp(ident, ident2));
assert(pid==pid2 || !strcmp(pid, pid2));
assert(ident==ident2 || streq(ident, ident2));
assert(pid==pid2 || streq(pid, pid2));
}
int main(void) {