ssl_client: fix option parsing
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>
diff --git a/networking/ssl_client.c b/networking/ssl_client.c
index d479846..3150712 100644
--- a/networking/ssl_client.c
+++ b/networking/ssl_client.c
@@ -30,7 +30,7 @@
// 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;