yep, yep... the whole thing was a quick and dirty c -> ruby. I didn't pay much attention. Will fix it!