ftpd: fix the bug where >2GB file ops report errors;
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 15 Mar 2009 15:54:58 +0000 (15:54 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 15 Mar 2009 15:54:58 +0000 (15:54 -0000)
commitfc58ba1298519712bf42e44ab71a916fb0dfba05
tree0058e41c2df77f93efe1e5007961d1bea4195297
parent823f10b8f0f3ad23231ab378d68b6cc884b570ef
ftpd: fix the bug where >2GB file ops report errors;
 make a few simplifications; add TODOs.

function                                             old     new   delta
port_or_pasv_was_seen                                  -      37     +37
get_remote_transfer_fd                               104     109      +5
handle_upload_common                                 265     260      -5
handle_dir_common                                    228     223      -5
popen_ls                                             211     203      -8
ftpd_main                                           1825    1815     -10
data_transfer_checks_ok                               37       -     -37
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 1/4 up/down: 42/-65)            Total: -23 bytes
networking/ftpd.c