removed some raw EAP debug output
[strongswan.git] / src / manager / controller / control_controller.c
index 12cb5e9..fdf66bf 100644 (file)
@@ -1,10 +1,3 @@
-/**
- * @file control_controller.c
- *
- * @brief Implementation of control_controller_t.
- *
- */
-
 /*
  * Copyright (C) 2007 Martin Willi
  * Hochschule fuer Technik Rapperswil
@@ -40,7 +33,7 @@ struct private_control_controller_t {
         * public functions
         */
        control_controller_t public;
-       
+
        /**
         * manager instance
         */
@@ -57,7 +50,7 @@ static void handle_result(private_control_controller_t *this, request_t *r,
        xml_t *xml;
        char *name, *value;
        int num = 0;
-       
+
        if (e)
        {
                while (e->enumerate(e, &xml, &name, &value))
@@ -120,7 +113,7 @@ static void terminate(private_control_controller_t *this, request_t *r,
 {
        gateway_t *gateway;
        enumerator_t *e;
-       
+
        r->setf(r, "title=Terminate %s SA %d", ike ? "IKE" : "CHILD", id);
        gateway = this->manager->select_gateway(this->manager, 0);
        e = gateway->terminate(gateway, ike, id);
@@ -152,7 +145,7 @@ static void handle(private_control_controller_t *this,
        if (action)
        {
                u_int32_t id;
-       
+
                if (streq(action, "terminateike"))
                {
                        if (str && (id = atoi(str)))
@@ -203,9 +196,9 @@ controller_t *control_controller_create(context_t *context, void *param)
        this->public.controller.get_name = (char*(*)(controller_t*))get_name;
        this->public.controller.handle = (void(*)(controller_t*,request_t*,char*,char*,char*,char*,char*))handle;
        this->public.controller.destroy = (void(*)(controller_t*))destroy;
-       
+
        this->manager = (manager_t*)context;
-       
+
        return &this->public.controller;
 }