git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d2379d
)
We only need one capability marked with a "*".
author
Wayne Davison
<wayne@opencoder.net>
Sun, 21 Jun 2020 05:09:08 +0000
(22:09 -0700)
committer
Wayne Davison
<wayne@opencoder.net>
Sun, 21 Jun 2020 05:09:08 +0000
(22:09 -0700)
options.c
patch
|
blob
|
history
diff --git
a/options.c
b/options.c
index 2c1d7ce4b8f17edd05545443bdb0df0b34bc00b0..bb0e863842ff9b0231e23c76a0e74e6556b0f05d 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-640,19
+640,17
@@
static void print_capabilities(enum logcode f)
#endif
"prealloc",
- "*"
+ "*"
/* All options after this point are hidden w/o -V -V */
#ifndef HAVE_SIMD
"no "
#endif
"SIMD",
- "*"
#ifndef HAVE_ASM
"no "
#endif
"asm",
- "*"
#ifndef USE_OPENSSL
"no "
#endif
@@
-666,11
+664,11
@@
static void print_capabilities(enum logcode f)
if (!cap)
break;
if (*cap == '*') {
- if (version_opt_cnt < 2) {
+ if (version_opt_cnt >= 2)
+ capabilities[j]++;
+ else
capabilities[j] = NULL;
- break;
- }
- capabilities[j]++;
+ break;
}
}