summaryrefslogtreecommitdiffstats
path: root/lib/libftp/FtpAbort.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 05:51:47 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 05:51:47 +0000
commitf05428e4cd63dde97bac14b84dd146a5c00455e3 (patch)
treee1331adb5d216f2b3fa6baa6491752348d2e5f10 /lib/libftp/FtpAbort.c
parent6de57e42c294763c78d77b0a9a7c5a08008a378a (diff)
downloadFreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.zip
FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'lib/libftp/FtpAbort.c')
-rw-r--r--lib/libftp/FtpAbort.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libftp/FtpAbort.c b/lib/libftp/FtpAbort.c
index 98d72b8..80943e5 100644
--- a/lib/libftp/FtpAbort.c
+++ b/lib/libftp/FtpAbort.c
@@ -2,9 +2,9 @@
Library for ftpd clients.(libftp)
Copyright by Oleg Orel
All rights reserved.
-
-This library is desined for free, non-commercial software creation.
-It is changeable and can be improved. The author would greatly appreciate
+
+This library is desined for free, non-commercial software creation.
+It is changeable and can be improved. The author would greatly appreciate
any advises, new components and patches of the existing programs.
Commercial usage is also possible with participation of it's author.
@@ -21,20 +21,20 @@ FtpAbort(FTP *ftp)
fd_set fds;
char msgc=IAC;
String msg;
-
+
FD_ZERO(&fds);
FD_SET(fileno(FTPCMD(ftp)),&fds);
-
+
FtpPutc(ftp, FTPCMD(ftp), IAC);
FtpPutc(ftp, FTPCMD(ftp), IP);
-
+
if ( send ( fileno(FTPCMD(ftp)), &msgc , 1 ,MSG_OOB) != 1 )
return EXIT(ftp,QUIT);
-
+
FtpPutc(ftp, FTPCMD(ftp), DM);
-
+
FtpSendMessage(ftp,"ABOR");
-
+
while (select ( getdtablesize(), &fds, 0,0, &(ftp->timeout) )>0)
{
FtpGetMessage(ftp,msg);
OpenPOWER on IntegriCloud