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
d4eba300
Commit
d4eba300
authored
Oct 01, 2007
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The lp_load() function doesn't fudge the pszFname arg anymore.
parent
dd589118
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
loadparm.c
loadparm.c
+1
-8
No files found.
loadparm.c
View file @
d4eba300
...
...
@@ -809,8 +809,6 @@ static BOOL do_section(char *sectionname)
***************************************************************************/
BOOL
lp_load
(
char
*
pszFname
,
int
globals_only
)
{
extern
int
am_server
;
extern
int
am_root
;
pstring
n2
;
BOOL
bRetval
;
...
...
@@ -820,12 +818,7 @@ BOOL lp_load(char *pszFname, int globals_only)
init_globals
();
if
(
pszFname
)
pstrcpy
(
n2
,
pszFname
);
else
if
(
am_server
&&
am_root
<=
0
)
pstrcpy
(
n2
,
RSYNCD_USERCONF
);
else
pstrcpy
(
n2
,
RSYNCD_SYSCONF
);
pstrcpy
(
n2
,
pszFname
);
/* We get sections first, so have to start 'behind' to make up */
iServiceIndex
=
-
1
;
...
...
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