I've attached a patch. I appreciate any comments, it being my first patch and all.
Sounds about right.
Can you do us a big favor and please resubmit the patch without any whitespace changes? That is, only diff what you actually changed. We don't change whitespace with code changes in the same commit/patch. This makes it really hard to review your patch.
Thanks! -- justin