Funny how porn is legal, but viewing it apparently is not. It sounds like the ultimate gotcha.
Kiddie porn is NOT legal.
This guy wouldn't be in so much trouble if it was adult-only stuff. And if I recall the case, it was not his personal machine, but a work machine.
Adult porn on a personal computer is in no way a crime.