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
9784f01c
Commit
9784f01c
authored
Jan 14, 2009
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a varint when sending the error_code.
parent
bc40a305
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
flist.c
flist.c
+3
-3
rsync.h
rsync.h
+1
-1
No files found.
flist.c
View file @
9784f01c
...
...
@@ -1915,7 +1915,7 @@ void send_extra_file_list(int f, int at_least)
write_byte
(
f
,
0
);
else
{
write_shortint
(
f
,
XMIT_EXTENDED_FLAGS
|
XMIT_IO_ERROR_ENDLIST
);
write_int
(
f
,
io_error
);
write_
var
int
(
f
,
io_error
);
}
if
(
need_unsorted_flist
)
{
...
...
@@ -2218,7 +2218,7 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
write_byte
(
f
,
0
);
else
{
write_shortint
(
f
,
XMIT_EXTENDED_FLAGS
|
XMIT_IO_ERROR_ENDLIST
);
write_int
(
f
,
io_error
);
write_
var
int
(
f
,
io_error
);
}
#ifdef SUPPORT_HARD_LINKS
...
...
@@ -2341,7 +2341,7 @@ struct file_list *recv_file_list(int f)
rprintf
(
FERROR
,
"Invalid flist flag: %x
\n
"
,
flags
);
exit_cleanup
(
RERR_PROTOCOL
);
}
err
=
read_int
(
f
);
err
=
read_
var
int
(
f
);
if
(
!
ignore_errors
)
io_error
|=
err
;
break
;
...
...
rsync.h
View file @
9784f01c
...
...
@@ -96,7 +96,7 @@
/* This is used when working on a new protocol version in CVS, and should
* be a new non-zero value for each CVS change that affects the protocol.
* It must ALWAYS be 0 when the protocol goes final (and NEVER before)! */
#define SUBPROTOCOL_VERSION
4
#define SUBPROTOCOL_VERSION
5
/* We refuse to interoperate with versions that are not in this range.
* Note that we assume we'll work with later versions: the onus is on
...
...
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