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
d80f7d6c
Commit
d80f7d6c
authored
Jun 04, 2011
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a colon if a non-empty pre-xfer exec message follows.
parent
e3bc529d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
clientserver.c
clientserver.c
+3
-2
No files found.
clientserver.c
View file @
d80f7d6c
...
...
@@ -396,9 +396,10 @@ static char *finish_pre_exec(pid_t pid, int write_fd, int read_fd, char *request
if
(
wait_process
(
pid
,
&
status
,
0
)
<
0
||
!
WIFEXITED
(
status
)
||
WEXITSTATUS
(
status
)
!=
0
)
{
char
*
e
;
if
(
asprintf
(
&
e
,
"pre-xfer exec returned failure (%d)%s%s
\n
%s"
,
if
(
asprintf
(
&
e
,
"pre-xfer exec returned failure (%d)%s%s
%s
\n
%s"
,
status
,
status
<
0
?
": "
:
""
,
status
<
0
?
strerror
(
errno
)
:
""
,
buf
)
<
0
)
status
<
0
?
strerror
(
errno
)
:
""
,
*
buf
?
":"
:
""
,
buf
)
<
0
)
return
"out_of_memory in finish_pre_exec
\n
"
;
return
e
;
}
...
...
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