summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-12-15 02:29:38 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-12-15 02:31:01 +0100
commit899839b9f87a46b49bb3f0eccb9133a8b07c1be7 (patch)
tree163bfe55e692c25f0ded2be9aaad1f566da1b993
parent815ebc540daf5cede58570bbeb0a4106e201c52e (diff)
test-journal-syslog: use streq_ptr since we pass in NULL
-rw-r--r--src/journal/test-journal-syslog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/test-journal-syslog.c b/src/journal/test-journal-syslog.c
index b9419372ad..c4d407148c 100644
--- a/src/journal/test-journal-syslog.c
+++ b/src/journal/test-journal-syslog.c
@@ -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 || streq(ident, ident2));
- assert(pid==pid2 || streq(pid, pid2));
+ assert(ident == ident2 || streq_ptr(ident, ident2));
+ assert(pid == pid2 || streq_ptr(pid, pid2));
}
int main(void) {