Commit f43b33c02fe6081bc1a04087974c52c96f6fee35

Ran Benita 2012-10-13T13:13:55

state: make mod_index_is_consumed() return -1 on invalid input Like all the other functions. Signed-off-by: Ran Benita <ran234@gmail.com>