diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 05:51:47 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 05:51:47 +0000 |
commit | f05428e4cd63dde97bac14b84dd146a5c00455e3 (patch) | |
tree | e1331adb5d216f2b3fa6baa6491752348d2e5f10 /lib/libftp/doc/example.c | |
parent | 6de57e42c294763c78d77b0a9a7c5a08008a378a (diff) | |
download | FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.zip FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'lib/libftp/doc/example.c')
-rw-r--r-- | lib/libftp/doc/example.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libftp/doc/example.c b/lib/libftp/doc/example.c index 7f09287..0606592 100644 --- a/lib/libftp/doc/example.c +++ b/lib/libftp/doc/example.c @@ -1,7 +1,7 @@ /* Include standard libftp's header */ -#include <FtpLibrary.h> +#include <FtpLibrary.h> @@ -10,25 +10,25 @@ main(int argc, char *argv[]) FILE *input,*output; int c; - + if (argc<3) exit(fprintf(stderr,"Usage: %s input-file output-file\n",argv[0])); FtplibDebug(yes); - + if ((input=Ftpfopen(argv[1],"r"))==NULL) { perror(argv[1]); exit(1); } - + if ((output=Ftpfopen(argv[2],"w"))==NULL) { perror(argv[2]); exit(1); } - + while ( (c=getc(input)) != EOF && (putc(c,output)!=EOF) ); if (ferror(input)) @@ -36,7 +36,7 @@ main(int argc, char *argv[]) perror(argv[1]); exit(1); } - + if (ferror(output)) { perror(argv[1]); @@ -47,5 +47,5 @@ main(int argc, char *argv[]) Ftpfclose(output); exit(0); - + } |