[daemon-dev][lib-opt] Fix in freeing memory, cleanup, comments, renames
[platform/upstream/dbus.git] / bus / activation.c
index adf71ab..3dc8701 100644 (file)
@@ -1188,6 +1188,7 @@ bus_activation_send_pending_auto_activation_messages (BusActivation  *activation
         {
           DBusConnection *addressed_recipient;
 
+#ifdef ENABLE_KDBUS_TRANSPORT
           /* kdbus change - we can not send anything using phantom connections
            * (DBusConnection structures for services other than daemon)
            * so we have to use daemon connection
@@ -1195,6 +1196,7 @@ bus_activation_send_pending_auto_activation_messages (BusActivation  *activation
           if(bus_context_is_kdbus(bus_transaction_get_context (transaction)))
               addressed_recipient = entry->connection;
           else
+#endif
               addressed_recipient = bus_service_get_primary_owners_connection (service);
 
           /* Resume dispatching where we left off in bus_dispatch() */