← Commit list

b5820d9fd

Ron Yorston
Ron Yorston
2018-03-20
SUCCESS Duration: 139s

Subject

ssl_client: fix option parsing

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/ssl_client.c+1 -1
@@ -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;