session: Pick directly first policy in list
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Wed, 31 Oct 2012 09:33:29 +0000 (10:33 +0100)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 5 Nov 2012 12:40:58 +0000 (14:40 +0200)
commit57fa40851534c3c9f2ca0267108a915cdc467c9e
treeadfefb82374b7f1ccf235c44645be4710d0d2611
parent66fe286e81325fc6a30f6cd4982574b93e7f2a4c
session: Pick directly first policy in list

There is no point in iterating over the list when we always
pick the first element in the list.
src/session.c