summaryrefslogtreecommitdiff
path: root/packaging/redhat/tinyproxy-1.5.2-config-patch
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2004-02-04 19:57:40 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2004-02-04 19:57:40 +0000
commitbf22966f558ca95222c94706124a3a385f5aa0bf (patch)
tree3fc51748cfbd01528367403f17e917258c401de7 /packaging/redhat/tinyproxy-1.5.2-config-patch
parent47df93b8f322e4c772b72502d94b38afa199b3fd (diff)
downloadtinyproxy-bf22966f558ca95222c94706124a3a385f5aa0bf.tar.gz
tinyproxy-bf22966f558ca95222c94706124a3a385f5aa0bf.zip
(strip_return_port): Patch from "alex" to strip the port from the host
string and return the port. I cleaned up and added error handling to the code, but it's basically "alex"'s fix. (extract_http_url): Rewrote this function to remove all the sscanf() calls. It's much easier to just split on the path slash (if it's present) and then strip the user name/password and port from the host string. Less code, handles more cases!
Diffstat (limited to 'packaging/redhat/tinyproxy-1.5.2-config-patch')
0 files changed, 0 insertions, 0 deletions