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:
c74f1d2
)
ssl_client: fix option parsing
1_28_2
author
Ron Yorston
<rmy@pobox.com>
Tue, 20 Mar 2018 10:41:28 +0000
(11:41 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 26 Mar 2018 00:05:47 +0000
(
02:05
+0200)
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 d479846d7f8ec06ce767f8ad9fc2a823fef51946..315071206c2d98d0ceedb2031a19378776904048 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, "s:
#r:#
n:", &tls->ofd, &tls->ifd, &sni);
+ opt = getopt32(argv, "s:
+r:+
n:", &tls->ofd, &tls->ifd, &sni);
if (!(opt & 2)) {
/* -r N defaults to -s N */
tls->ifd = tls->ofd;