Changed --stats implementation to work without -v in only these two
authorDavid Dykstra <dwd@samba.org>
Thu, 18 Feb 1999 17:23:44 +0000 (17:23 +0000)
committerDavid Dykstra <dwd@samba.org>
Thu, 18 Feb 1999 17:23:44 +0000 (17:23 +0000)
commit17d31b380b7c748837b30e7e0c54ab17974f7ab6
tree708bdebe1925424fe902527b5644d00f2f3210ff
parenta8b9d4edec745757d34a10be0f6956c0609c2284
Changed --stats implementation to work without -v in only these two
situations:
    1. the client is the receiver of files.  Can't do it otherwise yet
because without -v the bytes written from the sender's generator
process will not be counted.
    2. both the remote and local protocol versions are >=20.  I did not
change the protocol version yet because it is such a minor change
that it isn't worth it, although I did test it with the protocol
version set to 20.
If neither of the situations hold, it prints a message saying to use -v.
main.c