aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
m---------reqs/simple-opt0
-rw-r--r--src/opt.c4
2 files changed, 2 insertions, 2 deletions
diff --git a/reqs/simple-opt b/reqs/simple-opt
-Subproject 9e8912b6d5672333e254e7f3aacff3bf99816df
+Subproject 879d526d7ee7ee7a876f284dac76075e7a7267a
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);
}