A 35-year-old Corvallis man will serve prison time after being caught up in an online sex predator sting that left some criticizing the police.