]> git.ipfire.org Git - thirdparty/squid.git/commit - src/ftp.cc
Author: Amos Jeffries + Alan Nastac <mrness@gentoo.org>
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 12 Aug 2009 10:18:34 +0000 (22:18 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 12 Aug 2009 10:18:34 +0000 (22:18 +1200)
commitcd0b63ba5b4da49a8bdb6aa48c6e45c3f689d9eb
tree6e1abc0a1c459b8db3681fa5380f555107f351c8
parentb50f1b2bd086f310aa6e670b39dd74943acc73d0
Author: Amos Jeffries + Alan Nastac <mrness@gentoo.org>
Better const-correctness on FTP login parse

Also reduces amount of copying done by the parse. The old version
was copying the entire URL into user/password then cropping it down.
This one only copies the required bytes and terminates the copy.
src/ftp.cc