From 018ba0f72ee3828a5a573bad9cfbc3381219841f Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Mon, 25 Dec 2017 20:25:38 +0100 Subject: [PATCH] [FTP] lostpeer() is declared and defined with a void return type. #179 --- base/applications/network/ftp/ftp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base/applications/network/ftp/ftp.c b/base/applications/network/ftp/ftp.c index 910506827cf..7550ecd30b5 100644 --- a/base/applications/network/ftp/ftp.c +++ b/base/applications/network/ftp/ftp.c @@ -73,7 +73,11 @@ int ptflag = 0; int allbinary; struct sockaddr_in myctladdr; uid_t getuid(); +#ifdef __REACTOS__ +void lostpeer(void); +#else sig_t lostpeer(); +#endif off_t restart_point = 0; SOCKET cin, cout;