state: factor out entry_is_active() check
authorRan Benita <ran234@gmail.com>
Sat, 27 Feb 2016 17:43:07 +0000 (19:43 +0200)
committerRan Benita <ran234@gmail.com>
Sat, 27 Feb 2016 22:09:19 +0000 (00:09 +0200)
commit9f5139b5eaf5e29c28161b8e0df1adf2d247036b
tree30e27fb0c0ea329d7b1ab56e99bdac63688c4820
parentc991a7df569db4a7d6eba778d484c6cf7b144609
state: factor out entry_is_active() check

Makes the code slightly cleaner and I plan to use the function in
another place.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/state.c