From: Ralf Habacker Date: Fri, 30 Oct 2015 05:14:44 +0000 (+0100) Subject: Wrap path verbose output with '' to be able to see trailing spaces. X-Git-Tag: dbus-1.11.0~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0286eed76fad290b72be99ab5ad574f00cc14c8;p=thirdparty%2Fdbus.git Wrap path verbose output with '' to be able to see trailing spaces. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92721 Reviewed-by: Simon McVittie --- diff --git a/bus/config-parser.c b/bus/config-parser.c index 15ce8ff72..b818cd816 100644 --- a/bus/config-parser.c +++ b/bus/config-parser.c @@ -3481,7 +3481,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"); @@ -3493,7 +3494,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);