Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
We need VA_COPY() defined more. Fix dangling #endif.
[rsync/rsync.git]
/
options.c
diff --git
a/options.c
b/options.c
index
1041c97
..
a8c5b49
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-2228,7
+2228,7
@@
int parse_arguments(int *argc_p, const char ***argv_p)
if (files_from) {
char *h, *p;
int q;
if (files_from) {
char *h, *p;
int q;
- if (argc > 2 || (!am_daemon && argc == 1)) {
+ if (argc > 2 || (!am_daemon &&
!am_server &&
argc == 1)) {
usage(FERROR);
exit_cleanup(RERR_SYNTAX);
}
usage(FERROR);
exit_cleanup(RERR_SYNTAX);
}