From 2a1c4e8ae4e14a75f97f808450959091d55a1d32 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Fri, 30 Oct 2015 06:14:44 +0100 Subject: [PATCH] Wrap path verbose output with '' to be able to see trailing spaces. --- bus/config-parser.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bus/config-parser.c b/bus/config-parser.c index 502eef1..7aa11c1 100644 --- a/bus/config-parser.c +++ b/bus/config-parser.c @@ -3476,7 +3476,8 @@ test_default_session_servicedirs (void) i = 0; while ((link = _dbus_list_pop_first_link (&dirs))) { - printf (" test service dir: %s\n", (char *)link->data); + printf (" test service dir: '%s'\n", (char *)link->data); + printf (" current standard service dir: '%s'\n", test_session_service_dir_matches[i]); if (test_session_service_dir_matches[i] == NULL) { printf ("more directories parsed than in match set\n"); @@ -3489,7 +3490,7 @@ test_default_session_servicedirs (void) if (strcmp (test_session_service_dir_matches[i], (char *)link->data) != 0) { - printf ("%s directory does not match %s in the match set\n", + printf ("'%s' directory does not match '%s' in the match set\n", (char *)link->data, test_session_service_dir_matches[i]); dbus_free (link->data); -- 1.8.4.5