[systemd-commits] src/journal
Thomas H.P. Andersen
phomes at kemper.freedesktop.org
Sat Dec 14 17:29:44 PST 2013
src/journal/test-journal-syslog.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 899839b9f87a46b49bb3f0eccb9133a8b07c1be7
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sun Dec 15 02:29:38 2013 +0100
test-journal-syslog: use streq_ptr since we pass in NULL
diff --git a/src/journal/test-journal-syslog.c b/src/journal/test-journal-syslog.c
index b941937..c4d4071 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) {
More information about the systemd-commits
mailing list