]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
dbus-auth-util: Remove all trailing whitespace
authorSimon McVittie <smcv@collabora.com>
Mon, 17 Dec 2018 11:30:00 +0000 (11:30 +0000)
committerSimon McVittie <smcv@collabora.com>
Mon, 21 Jan 2019 15:20:06 +0000 (15:20 +0000)
This is in preparation for moving the file: our commit hook would
object to the delete + add otherwise.

Signed-off-by: Simon McVittie <smcv@collabora.com>
dbus/dbus-auth-util.c

index c8ba60422dae9da9e0faa6d13a13848735984312..5fb30a8e4e6cfe8dffda17960f71a250f88102f4 100644 (file)
@@ -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;