Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
ebb00c8e
Commit
ebb00c8e
authored
Mar 15, 1999
by
David Dykstra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed the protocol version to 20 so that --stats will work without -v in
both directions.
parent
6543dc0c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
main.c
main.c
+2
-3
rsync.h
rsync.h
+1
-1
No files found.
main.c
View file @
ebb00c8e
...
...
@@ -42,8 +42,7 @@ static void report(int f)
if
(
f
==
-
1
||
!
am_sender
)
return
;
}
send_stats
=
verbose
||
((
remote_version
>=
20
)
&&
(
PROTOCOL_VERSION
>=
20
));
send_stats
=
verbose
||
(
remote_version
>=
20
);
if
(
am_server
)
{
if
(
am_sender
&&
send_stats
)
{
int64
w
;
...
...
@@ -71,7 +70,7 @@ static void report(int f)
if
(
do_stats
)
{
if
(
!
am_sender
&&
!
send_stats
)
{
/* missing the bytes written by the generator */
rprintf
(
FINFO
,
"
\n
Cannot show stats as receiver because protocol version is less than 20
\n
"
);
rprintf
(
FINFO
,
"
\n
Cannot show stats as receiver because
remote
protocol version is less than 20
\n
"
);
rprintf
(
FINFO
,
"Use --stats -v to show stats
\n
"
);
return
;
}
...
...
rsync.h
View file @
ebb00c8e
...
...
@@ -47,7 +47,7 @@
#define SAME_TIME (1<<7)
/* update this if you make incompatible changes */
#define PROTOCOL_VERSION
19
#define PROTOCOL_VERSION
20
#define MIN_PROTOCOL_VERSION 11
#define MAX_PROTOCOL_VERSION 30
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment