Refactored IPV4/IPV6 FTP connection setup code
commita27725d7a35c21e8dbe97b6f98324710e8df33e9
authorYury V. Zaytsev <yury@shurup.com>
Sat, 11 Sep 2010 09:51:20 +0000 (11 11:51 +0200)
committerYury V. Zaytsev <yury@shurup.com>
Wed, 15 Sep 2010 11:49:02 +0000 (15 13:49 +0200)
tree8fbcc09a9d380a829030102f6488546bebb64f40
parentada1848268bef5affdbe7e5abef7abf0ad7b74fa
Refactored IPV4/IPV6 FTP connection setup code

Miscellaneous refactoring:

    * Factored out the active IPV4/IPV6 FTP connection mode setup
      routine in a separate function (ftpfs_setup_active) to make the
      logic more clear.

    * Factored out ftpfs_init_data_socket from ftpfs_initconn in order
      to make it possible to fix the logic later on.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
lib/vfs/mc-vfs/ftpfs.c