Moved common send_file() code to a separate function.
commit40bd9fde3a111ece51440b76fca2074022e951b6
authoretanol <etanol>
Fri, 29 Aug 2008 16:16:21 +0000 (29 18:16 +0200)
committeretanol <etanol>
Tue, 16 Sep 2008 15:29:46 +0000 (16 17:29 +0200)
treeb91eaefb2e9e94547a9339476fae0dbba144b52c
parent7b102909ebecc726cf6e00fc782206d5df895bb8
Moved common send_file() code to a separate function.

Even having different implementations of the same function, the initial checks
are the same for all.  Then, the new function open_file() has been added for
that purpose.
Makefile
open_file.c [copied from send_file-sendfile.c with 50% similarity]
send_file-generic.c
send_file-sendfile.c
uftps.h