From ff20595ff134655440d378889591389e2df04af6 Mon Sep 17 00:00:00 2001 From: katherine Date: Mon, 27 May 2019 19:10:55 -0700 Subject: update submodule simple-opt pull v1.4 --- reqs/simple-opt | 2 +- src/opt.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reqs/simple-opt b/reqs/simple-opt index 9e8912b..879d526 160000 --- a/reqs/simple-opt +++ b/reqs/simple-opt @@ -1 +1 @@ -Subproject commit 9e8912b6d5672333e254e7f3aacff3bf99816dff +Subproject commit 879d526d7ee7ee7a876f284dac76075e7a7267ae diff --git a/src/opt.c b/src/opt.c index ac6832e..a856c74 100644 --- a/src/opt.c +++ b/src/opt.c @@ -50,13 +50,13 @@ void opt_parse(int argc, char **argv) const char* opt_infile_str(void) { return (options[2].was_seen - ? options[2].val_string + ? options[2].val.v_string : NULL); } const char* opt_outfile_str(void) { return (options[3].was_seen - ? options[3].val_string + ? options[3].val.v_string : NULL); } -- cgit v1.2.3