bus->listen() and the controller wrappers accept a timeout to wait for callbacks
[strongswan.git] / src / libcharon / plugins / maemo / maemo_service.c
index d6ba8fa..6675e1d 100644 (file)
@@ -217,7 +217,7 @@ static void disconnect(private_maemo_service_t *this)
                id = ike_sa->get_unique_id(ike_sa);
                charon->ike_sa_manager->checkin(charon->ike_sa_manager, ike_sa);
                charon->controller->terminate_ike(charon->controller, id,
                id = ike_sa->get_unique_id(ike_sa);
                charon->ike_sa_manager->checkin(charon->ike_sa_manager, ike_sa);
                charon->controller->terminate_ike(charon->controller, id,
-                                                                                 NULL, NULL);
+                                                                                 NULL, NULL, 0);
        }
        this->current = (g_free(this->current), NULL);
        this->status = VPN_STATUS_DISCONNECTED;
        }
        this->current = (g_free(this->current), NULL);
        this->status = VPN_STATUS_DISCONNECTED;