From 6c06b4e2aa2a28d1f0bbd29ecdce35aaaf600ce8 Mon Sep 17 00:00:00 2001 From: "Rodney W. Grimes" Date: Tue, 30 May 1995 05:51:47 +0000 Subject: Remove trailing whitespace. --- lib/libftp/FtpStor.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'lib/libftp/FtpStor.c') diff --git a/lib/libftp/FtpStor.c b/lib/libftp/FtpStor.c index 9ddb32681c30..9cd0e4eb557a 100644 --- a/lib/libftp/FtpStor.c +++ b/lib/libftp/FtpStor.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. @@ -27,11 +27,11 @@ STATUS FtpStor (FTP * con , char * command , if ( (i=Ftpfopen(in,"rb")) == NULL ) return EXIT(con,LQUIT); - if ( FtpTestFlag(con,FTP_REST) && + if ( FtpTestFlag(con,FTP_REST) && (con->seek=FtpSize(con,out))<0 ) con->seek=0; - - + + if ( FtpError(FtpData(con,command,out,"w"))) { if (con->seek==0) return EXIT(con,con->errno); @@ -40,12 +40,12 @@ STATUS FtpStor (FTP * con , char * command , if ( FtpError(FtpData(con,command,out,"w")) ) return EXIT(con,con->errno); } - + if (con->seek) fseek(i,con->seek,0); - - while ( (size=read ( fileno(i) , buffer, FTPBUFSIZ ))>0) + + while ( (size=read ( fileno(i) , buffer, FTPBUFSIZ ))>0) FtpWriteBlock(con,buffer,size); - + Ftpfclose(i); return FtpClose(con); } -- cgit v1.3