rpc.tlsclntd, rpc.tlsservd: Fix getopt_long argument
The "C" option in the argument to getopt_long() was missing a ":" for both rpc.tlsclntd.c and rpc.tlsservd.c. This patch fixes this. MFC after: 2 weeks
This commit is contained in:
parent
712aac1389
commit
15881823b9
@ -154,8 +154,8 @@ main(int argc, char **argv)
|
||||
rpctls_ssl_usec = tm.tv_usec;
|
||||
|
||||
rpctls_verbose = false;
|
||||
while ((ch = getopt_long(argc, argv, "CD:dl:mp:r:v", longopts, NULL)) !=
|
||||
-1) {
|
||||
while ((ch = getopt_long(argc, argv, "C:D:dl:mp:r:v", longopts,
|
||||
NULL)) != -1) {
|
||||
switch (ch) {
|
||||
case 'C':
|
||||
rpctls_ciphers = optarg;
|
||||
|
@ -180,7 +180,7 @@ main(int argc, char **argv)
|
||||
}
|
||||
|
||||
rpctls_verbose = false;
|
||||
while ((ch = getopt_long(argc, argv, "CD:dhl:n:mp:r:uvWw", longopts,
|
||||
while ((ch = getopt_long(argc, argv, "C:D:dhl:n:mp:r:uvWw", longopts,
|
||||
NULL)) != -1) {
|
||||
switch (ch) {
|
||||
case 'C':
|
||||
|
Loading…
x
Reference in New Issue
Block a user