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
6be8a8b1
Commit
6be8a8b1
authored
Nov 01, 2009
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A daemon treats --msgs2stderr as "output only to the log, not the user".
parent
ef9d3a15
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
log.c
log.c
+10
-4
No files found.
log.c
View file @
6be8a8b1
...
@@ -265,10 +265,16 @@ void rwrite(enum logcode code, const char *buf, int len, int is_utf8)
...
@@ -265,10 +265,16 @@ void rwrite(enum logcode code, const char *buf, int len, int is_utf8)
if
(
len
<
0
)
if
(
len
<
0
)
exit_cleanup
(
RERR_MESSAGEIO
);
exit_cleanup
(
RERR_MESSAGEIO
);
if
(
msgs2stderr
&&
code
!=
FLOG
)
if
(
msgs2stderr
)
{
if
(
!
am_daemon
)
{
if
(
code
==
FLOG
)
return
;
goto
output_msg
;
goto
output_msg
;
}
if
(
send_msgs_to_gen
)
{
if
(
code
==
FCLIENT
)
return
;
code
=
FLOG
;
}
else
if
(
send_msgs_to_gen
)
{
assert
(
!
is_utf8
);
assert
(
!
is_utf8
);
/* Pass the message to our sibling in native charset. */
/* Pass the message to our sibling in native charset. */
send_msg
((
enum
msgcode
)
code
,
buf
,
len
,
0
);
send_msg
((
enum
msgcode
)
code
,
buf
,
len
,
0
);
...
...
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