added missing 'break' in checkout_by_peer
authorTobias Brunner <tobias@strongswan.org>
Thu, 13 Sep 2007 13:00:23 +0000 (13:00 -0000)
committerTobias Brunner <tobias@strongswan.org>
Thu, 13 Sep 2007 13:00:23 +0000 (13:00 -0000)
src/charon/sa/ike_sa_manager.c

index d4cf675..5014ea0 100644 (file)
@@ -542,6 +542,7 @@ static ike_sa_t* checkout_by_peer(private_ike_sa_manager_t *this,
                                 my_host, my_id, other_host, other_id);
                        entry->checked_out = TRUE;
                        ike_sa = entry->ike_sa;
+                       break;
                }
        }
        iterator->destroy(iterator);