sysdeps-win: Fix autolaunch: regression on Windows

Commit f20a05f60f 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
This commit is contained in:
Thomas Sondergaard 2024-04-06 19:29:15 +02:00 committed by Thomas Sondergaard
parent 6c31c381e2
commit 73b574bd21

View file

@ -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