summaryrefslogtreecommitdiffstats
path: root/bus/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/bus.c')
-rw-r--r--bus/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/bus.c b/bus/bus.c
index 0340dd3c..445ab52c 100644
--- a/bus/bus.c
+++ b/bus/bus.c
@@ -177,7 +177,7 @@ new_connection_callback (DBusServer *server,
* that we have to do this, people won't get it right
* in general.
*/
- dbus_connection_disconnect (new_connection);
+ dbus_connection_close (new_connection);
}
dbus_connection_set_max_received_size (new_connection,