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
f39b2060
Commit
f39b2060
authored
Feb 19, 2005
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We now set daemon_log_format_has_i and daemon_log_format_has_o_or_i
instead of itemize_daemon_changes.
parent
4f2ba7e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
clientserver.c
clientserver.c
+9
-3
No files found.
clientserver.c
View file @
f39b2060
...
...
@@ -52,7 +52,8 @@ extern char *files_from;
char
*
auth_user
;
int
read_only
=
0
;
int
itemize_daemon_changes
=
0
;
int
daemon_log_format_has_i
=
0
;
int
daemon_log_format_has_o_or_i
=
0
;
int
module_id
=
-
1
;
/* Length of lp_path() string when in daemon mode & not chrooted, else 0. */
...
...
@@ -284,8 +285,13 @@ static int rsync_module(int f_in, int f_out, int i)
if
(
lp_read_only
(
i
))
read_only
=
1
;
if
(
lp_transfer_logging
(
i
)
&&
strstr
(
lp_log_format
(
i
),
"%i"
)
!=
NULL
)
itemize_daemon_changes
=
1
;
if
(
lp_transfer_logging
(
i
))
{
if
(
strstr
(
lp_log_format
(
i
),
"%i"
)
!=
NULL
)
daemon_log_format_has_i
=
1
;
if
(
daemon_log_format_has_i
||
strstr
(
lp_log_format
(
i
),
"%o"
)
!=
NULL
)
daemon_log_format_has_o_or_i
=
1
;
}
am_root
=
(
MY_UID
()
==
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