From: Simon McVittie Date: Mon, 17 Dec 2018 11:30:00 +0000 (+0000) Subject: dbus-auth-util: Remove all trailing whitespace X-Git-Tag: dbus-1.13.10~25^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab4c7c52f9fac6d70405a32439f6ef37b025f61e;p=thirdparty%2Fdbus.git dbus-auth-util: Remove all trailing whitespace This is in preparation for moving the file: our commit hook would object to the delete + add otherwise. Signed-off-by: Simon McVittie --- diff --git a/dbus/dbus-auth-util.c b/dbus/dbus-auth-util.c index c8ba60422..5fb30a8e4 100644 --- a/dbus/dbus-auth-util.c +++ b/dbus/dbus-auth-util.c @@ -50,17 +50,17 @@ process_test_subdir (const DBusString *test_base_dir, retval = FALSE; dir = NULL; - + if (!_dbus_string_init (&test_directory)) _dbus_test_fatal ("didn't allocate test_directory"); _dbus_string_init_const (&filename, subdir); - + if (!_dbus_string_copy (test_base_dir, 0, &test_directory, 0)) _dbus_test_fatal ("couldn't copy test_base_dir to test_directory"); - if (!_dbus_concat_dir_and_file (&test_directory, &filename)) + if (!_dbus_concat_dir_and_file (&test_directory, &filename)) _dbus_test_fatal ("couldn't allocate full path"); _dbus_string_free (&filename); @@ -83,7 +83,7 @@ process_test_subdir (const DBusString *test_base_dir, while (_dbus_directory_get_next_file (dir, &filename, &error)) { DBusString full_path; - + if (!_dbus_string_init (&full_path)) _dbus_test_fatal ("couldn't init string"); @@ -119,9 +119,9 @@ process_test_subdir (const DBusString *test_base_dir, dbus_error_free (&error); goto failed; } - + retval = TRUE; - + failed: if (dir) @@ -139,28 +139,28 @@ process_test_dirs (const char *test_data_dir) dbus_bool_t retval; retval = FALSE; - + _dbus_string_init_const (&test_directory, test_data_dir); if (!process_test_subdir (&test_directory, "auth")) goto failed; retval = TRUE; - + failed: _dbus_string_free (&test_directory); - + return retval; } dbus_bool_t _dbus_auth_test (const char *test_data_dir) { - + if (test_data_dir == NULL) return TRUE; - + if (!process_test_dirs (test_data_dir)) return FALSE;