Updated patch to address kkolinko's concerns along with a handful of similar issues I spotted with a more careful review of the diff.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc5.5.x/trunk@1160258 13f79535-47bb-0310-9956-ffa450edef68
1 file changed