summaryrefslogtreecommitdiff
path: root/ftparchive/apt-ftparchive.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-06-27 10:54:26 +0200
committerJulian Andres Klode <jak@debian.org>2016-06-27 10:58:29 +0200
commit25a694165ae46c159e0d91bf0b27717f00dbc66e (patch)
tree2f0c56173369af9f1043d6ae184f857b52ffc517 /ftparchive/apt-ftparchive.cc
parent925c0375bf988039ca67aba783f2ad541281bbac (diff)
methods/ftp: Cope with weird PASV responses
wu-ftpd sends the response without parens, whereas we expect them. I did not test the patch, but it should work. I added another return true if Pos is still npos after the second find to make sure we don't add npos to the string. Thanks: Lukasz Stelmach for the initial patch Closes: #420940
Diffstat (limited to 'ftparchive/apt-ftparchive.cc')
0 files changed, 0 insertions, 0 deletions