projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3e98b1
)
ssl_client: fix option parsing
author
Ron Yorston
<rmy@pobox.com>
Tue, 20 Mar 2018 10:41:28 +0000
(11:41 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 20 Mar 2018 10:41:51 +0000
(11:41 +0100)
The wrong character was used to indicate options taking an integer
parameter.
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ssl_client.c
patch
|
blob
|
history
diff --git
a/networking/ssl_client.c
b/networking/ssl_client.c
index eb84e7726f11089327d2037b46620e955532389e..875352d1872e698122418200a6bd5289192b9f07 100644
(file)
--- a/
networking/ssl_client.c
+++ b/
networking/ssl_client.c
@@
-30,7
+30,7
@@
int ssl_client_main(int argc UNUSED_PARAM, char **argv)
// INIT_G();
tls = new_tls_state();
- opt = getopt32(argv, "es:
#r:#
n:", &tls->ofd, &tls->ifd, &sni);
+ opt = getopt32(argv, "es:
+r:+
n:", &tls->ofd, &tls->ifd, &sni);
if (!(opt & (1<<2))) {
/* -r N defaults to -s N */
tls->ifd = tls->ofd;