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
f0fa8c6d
Commit
f0fa8c6d
authored
Nov 19, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved the options_rejected label to avoid a compiler warning on
some systems.
parent
9d33e6f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
options.c
options.c
+7
-6
No files found.
options.c
View file @
f0fa8c6d
...
...
@@ -1246,12 +1246,8 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
if
(
!*
backup_dir
)
goto
options_rejected
;
clean_fname
(
backup_dir
,
1
);
if
(
check_filter
(
elp
,
backup_dir
,
1
)
<
0
)
{
options_rejected:
snprintf
(
err_buf
,
sizeof
err_buf
,
"Your options have been rejected by the server.
\n
"
);
return
0
;
}
if
(
check_filter
(
elp
,
backup_dir
,
1
)
<
0
)
goto
options_rejected
;
}
}
...
...
@@ -1457,6 +1453,11 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
am_starting_up
=
0
;
return
1
;
options_rejected:
snprintf
(
err_buf
,
sizeof
err_buf
,
"Your options have been rejected by the server.
\n
"
);
return
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