ftp: move create control connection to function
authorLukasz Marek <lukasz.m.luki@gmail.com>
Thu, 30 May 2013 13:22:13 +0000 (15:22 +0200)
committerLukasz Marek <lukasz.m.luki@gmail.com>
Fri, 31 May 2013 13:57:58 +0000 (15:57 +0200)
commitc84d6aa2f63f014a1c08f4adf67c462b98f68028
tree9c86d5f04c8ac7d2a7e633df28d08c2b764af5d0
parente46e49e31d7e8057881ffa89fc1f17e1f4d16d67
ftp: move create control connection to function

Move common code that opens control connection to function.
This code can be reused when reconnecting to FTP server
after inactivity.
libavformat/ftp.c