summaryrefslogtreecommitdiffstats
path: root/bus/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/driver.c')
-rw-r--r--bus/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/driver.c b/bus/driver.c
index 4946fd6a..8749bc13 100644
--- a/bus/driver.c
+++ b/bus/driver.c
@@ -278,7 +278,7 @@ bus_driver_handle_hello (DBusConnection *connection,
_DBUS_ASSERT_ERROR_IS_CLEAR (error);
- if (!_dbus_string_init (&unique_name, _DBUS_INT_MAX))
+ if (!_dbus_string_init (&unique_name))
{
BUS_SET_OOM (error);
return FALSE;