Properly handle zero length in chunk_alloc[a]/chunk_clone[a]
[strongswan.git] / src / manager / storage.h
index 2495b3a..d8e8b74 100644 (file)
@@ -39,7 +39,7 @@ struct storage_t {
         * @return                                      user ID if login good, 0 otherwise
         */
        int (*login)(storage_t *this, char *username, char *password);
-       
+
        /**
         * Create an iterator over the gateways.
         *
@@ -49,12 +49,12 @@ struct storage_t {
         * @param user                          user Id
         * @return                                      enumerator
         */
-       enumerator_t* (*create_gateway_enumerator)(storage_t *this, int user);  
+       enumerator_t* (*create_gateway_enumerator)(storage_t *this, int user);
 
        /**
-     * Destroy a storage instance.
-     */
-    void (*destroy)(storage_t *this);
+        * Destroy a storage instance.
+        */
+       void (*destroy)(storage_t *this);
 };
 
 /**