ftp: enhanced status code handling
authorLukasz Marek <lukasz.m.luki@gmail.com>
Wed, 29 May 2013 14:00:14 +0000 (16:00 +0200)
committerLukasz Marek <lukasz.m.luki@gmail.com>
Fri, 31 May 2013 14:42:25 +0000 (16:42 +0200)
commit3f005218099020f38b88ed4e4fdf684759a2a096
treebdc0bec4a9228c1f4fee200cc341ae96964673b2
parent1931c2d2654fc6244232d4828ebfafeb414dbb26
ftp: enhanced status code handling

Reimplementation of ftp_status function.
New version requires explicit list of expected codes.
It flush data connection input before sending a command
and blocks until expected result appears.
libavformat/ftp.c