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
408e6939
Commit
408e6939
authored
Mar 16, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the reacquisition of the code value from the msg2sndr list.
parent
954bbed8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
io.c
io.c
+2
-1
No files found.
io.c
View file @
408e6939
...
@@ -1103,10 +1103,11 @@ static void writefd_unbuffered(int fd,char *buf,size_t len)
...
@@ -1103,10 +1103,11 @@ static void writefd_unbuffered(int fd,char *buf,size_t len)
if
(
msg2sndr
.
head
&&
!
defer_forwarding_messages
)
{
if
(
msg2sndr
.
head
&&
!
defer_forwarding_messages
)
{
struct
msg_list_item
*
m
=
msg2sndr
.
head
;
struct
msg_list_item
*
m
=
msg2sndr
.
head
;
int
code
=
(
IVAL
(
m
->
buf
,
0
)
>>
24
)
-
MPLEX_BASE
;
if
(
!
(
msg2sndr
.
head
=
m
->
next
))
if
(
!
(
msg2sndr
.
head
=
m
->
next
))
msg2sndr
.
tail
=
NULL
;
msg2sndr
.
tail
=
NULL
;
defer_forwarding_messages
=
1
;
defer_forwarding_messages
=
1
;
io_multiplex_write
(
IVAL
(
m
->
buf
,
0
)
,
m
->
buf
+
4
,
m
->
len
-
4
);
io_multiplex_write
(
code
,
m
->
buf
+
4
,
m
->
len
-
4
);
defer_forwarding_messages
=
0
;
defer_forwarding_messages
=
0
;
free
(
m
);
free
(
m
);
continue
;
continue
;
...
...
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