summaryrefslogtreecommitdiff
path: root/dbus
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2020-04-18 10:53:34 +0200
committerRalf Habacker <ralf.habacker@freenet.de>2020-04-27 12:09:57 +0000
commita36cd885147e9c380ac4d7cff40869191b252b0b (patch)
treef69d2260f85b6a8769ac9969e734898de026b5fd /dbus
parent062f62a3de21658aa0a010269f549deb2b86a2ea (diff)
downloaddbus-a36cd885147e9c380ac4d7cff40869191b252b0b.tar.gz
Fix indention in _dbus_get_autolaunch_address()
Diffstat (limited to 'dbus')
-rw-r--r--dbus/dbus-sysdeps-win.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c
index 318bd360..1f7d0ae2 100644
--- a/dbus/dbus-sysdeps-win.c
+++ b/dbus/dbus-sysdeps-win.c
@@ -3171,11 +3171,11 @@ _dbus_get_autolaunch_address (const char *scope, DBusString *address,
char dbus_module_path[MAX_PATH];
DWORD rc;
- _dbus_verbose( "did not found dbus daemon executable on default search path, "
- "trying path where dbus shared library is located");
+ _dbus_verbose ("did not found dbus daemon executable on default search path, "
+ "trying path where dbus shared library is located");
- hmod = _dbus_win_get_dll_hmodule();
- rc = GetModuleFileNameA(hmod, dbus_module_path, sizeof(dbus_module_path));
+ hmod = _dbus_win_get_dll_hmodule ();
+ rc = GetModuleFileNameA (hmod, dbus_module_path, sizeof(dbus_module_path));
if (rc <= 0)
{
dbus_set_error_const (error, DBUS_ERROR_FAILED, "could not retrieve dbus shared library file name");
@@ -3184,10 +3184,10 @@ _dbus_get_autolaunch_address (const char *scope, DBusString *address,
}
else
{
- char *ext_idx = strrchr(dbus_module_path, '\\');
+ char *ext_idx = strrchr (dbus_module_path, '\\');
if (ext_idx)
*ext_idx = '\0';
- if (!SearchPathA(dbus_module_path, daemon_name, NULL, sizeof(dbus_exe_path), dbus_exe_path, &lpFile))
+ if (!SearchPathA (dbus_module_path, daemon_name, NULL, sizeof(dbus_exe_path), dbus_exe_path, &lpFile))
{
dbus_set_error_const (error, DBUS_ERROR_FAILED, "could not find dbus-daemon executable");
retval = FALSE;
@@ -3195,7 +3195,7 @@ _dbus_get_autolaunch_address (const char *scope, DBusString *address,
fprintf (stderr, "or start the daemon manually\n\n");
goto out;
}
- _dbus_verbose( "found dbus daemon executable at %s",dbus_module_path);
+ _dbus_verbose ("found dbus daemon executable at %s", dbus_module_path);
}
}