implemented rereadcrls rereadcacerts
[strongswan.git] / src / libstrongswan / utils / linked_list.c
index 2d29174..ede651f 100644 (file)
@@ -268,10 +268,6 @@ static status_t remove(private_iterator_t *this)
        {
                new_current = this->current->previous;
        }
-       else if (this->current->next != NULL)
-       {
-               new_current = this->current->next;
-       }
        else
        {
                new_current = NULL;
@@ -669,7 +665,7 @@ static status_t get_last(private_linked_list_t *this, void **item)
 /**
  * Implementation of linked_list_t.create_iterator.
  */
-static iterator_t *create_iterator (private_linked_list_t *linked_list,bool forward)
+static iterator_t *create_iterator (private_linked_list_t *linked_list, bool forward)
 {
        private_iterator_t *this = malloc_thing(private_iterator_t);