Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1da0536
)
For the server, don't ever intuit verbosity higher than what
author
Wayne Davison
<wayned@samba.org>
Fri, 18 Feb 2005 17:36:12 +0000
(17:36 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 18 Feb 2005 17:36:12 +0000
(17:36 +0000)
the client asked for.
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index
d2b95bc
..
e04ee61
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-152,7
+152,7
@@
char *batch_name = NULL;
static int daemon_opt; /* sets am_daemon after option error-reporting */
static int F_option_cnt = 0;
static int modify_window_set;
static int daemon_opt; /* sets am_daemon after option error-reporting */
static int F_option_cnt = 0;
static int modify_window_set;
-static int refused_
verbose, refused_
delete, refused_archive_part;
+static int refused_delete, refused_archive_part;
static int refused_partial, refused_progress, refused_delete_before;
static char *dest_option = NULL;
static char *max_size_arg;
static int refused_partial, refused_progress, refused_delete_before;
static char *dest_option = NULL;
static char *max_size_arg;
@@
-548,9
+548,6
@@
static void set_refuse_options(char *bp)
/* These flags are set to let us easily check
* an implied option later in the code. */
switch (*shortname) {
/* These flags are set to let us easily check
* an implied option later in the code. */
switch (*shortname) {
- case 'v':
- refused_verbose = op->val;
- break;
case 'r': case 'd': case 'l': case 'p':
case 't': case 'g': case 'o': case 'D':
refused_archive_part = op->val;
case 'r': case 'd': case 'l': case 'p':
case 't': case 'g': case 'o': case 'D':
refused_archive_part = op->val;
@@
-1070,7
+1067,7
@@
int parse_arguments(int *argc, const char ***argv, int frommain)
}
if ((do_progress || dry_run) && !verbose && !log_before_transfer
}
if ((do_progress || dry_run) && !verbose && !log_before_transfer
- && !
refused_verbose
)
+ && !
am_server
)
verbose = 1;
if (verbose && !log_format) {
verbose = 1;
if (verbose && !log_format) {