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
bd9fca47
Commit
bd9fca47
authored
Jan 14, 2005
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
For the "unexpected tag" or "multiplexing overflow" messages, we
now output who_am_i() so we know who had the problem.
parent
14d496cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
io.c
io.c
+5
-3
No files found.
io.c
View file @
bd9fca47
...
@@ -679,8 +679,9 @@ static int readfd_unbuffered(int fd, char *buf, size_t len)
...
@@ -679,8 +679,9 @@ static int readfd_unbuffered(int fd, char *buf, size_t len)
case
MSG_INFO
:
case
MSG_INFO
:
case
MSG_ERROR
:
case
MSG_ERROR
:
if
(
remaining
>=
sizeof
line
)
{
if
(
remaining
>=
sizeof
line
)
{
rprintf
(
FERROR
,
"multiplexing overflow %d:%ld
\n\n
"
,
rprintf
(
FERROR
,
tag
,
(
long
)
remaining
);
"[%s] multiplexing overflow %d:%ld
\n\n
"
,
who_am_i
(),
tag
,
(
long
)
remaining
);
exit_cleanup
(
RERR_STREAMIO
);
exit_cleanup
(
RERR_STREAMIO
);
}
}
read_loop
(
fd
,
line
,
remaining
);
read_loop
(
fd
,
line
,
remaining
);
...
@@ -688,7 +689,8 @@ static int readfd_unbuffered(int fd, char *buf, size_t len)
...
@@ -688,7 +689,8 @@ static int readfd_unbuffered(int fd, char *buf, size_t len)
remaining
=
0
;
remaining
=
0
;
break
;
break
;
default:
default:
rprintf
(
FERROR
,
"unexpected tag %d
\n
"
,
tag
);
rprintf
(
FERROR
,
"[%s] unexpected tag %d
\n
"
,
who_am_i
(),
tag
);
exit_cleanup
(
RERR_STREAMIO
);
exit_cleanup
(
RERR_STREAMIO
);
}
}
}
}
...
...
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