diff options
author | Thomas Sondergaard <thomas.sondergaard@mi.medical.canon> | 2024-04-06 19:29:15 +0200 |
---|---|---|
committer | Thomas Sondergaard <thomas@sondergaard.cc> | 2024-04-06 21:12:53 +0200 |
commit | 73b574bd2195b07a5a97eabb2821fc466a3da2c9 (patch) | |
tree | 2a57fe7c841b1ad80bd5eb5681461c48f2ec3d54 | |
parent | 6c31c381e29c7e8e340fb7ee2fd50e04008ad230 (diff) |
sysdeps-win: Fix autolaunch: regression on Windows
Commit f20a05f60f6f included in dbus-1.15.0 broke autolaunch: on
Windows. autolaunch_custom_command_line_parameter shall be initalized
to null as it is later used in only one place in the code, with this
ternary:
autolaunch_custom_command_line_parameter ? autolaunch_custom_command_line_parameter : "--session"
Closes #503
-rw-r--r-- | dbus/dbus-sysdeps-win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c index d44dc0a9..e8fb78da 100644 --- a/dbus/dbus-sysdeps-win.c +++ b/dbus/dbus-sysdeps-win.c @@ -2759,7 +2759,7 @@ static const char *cDBusDaemonMutex = "DBusDaemonMutex"; static const char *cDBusDaemonAddressInfo = "DBusDaemonAddressInfo"; /* custom command line parameter for autolaunching daemon */ -static const char *autolaunch_custom_command_line_parameter = ""; +static const char *autolaunch_custom_command_line_parameter = NULL; /** * Set command line parameters for the dbus daemon to start |