aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorkatherine <shmibs@airen-no-jikken.icu>2019-05-27 19:10:55 -0700
committerkatherine <shmibs@airen-no-jikken.icu>2019-05-27 19:10:55 -0700
commitff20595ff134655440d378889591389e2df04af6 (patch)
treedddb49e17f34535a6c3ef12d9f063eb843a4a02f /src
parentf5d36db355e570d772443d8755e83bf36ed85672 (diff)
downloadconfconf-ff20595ff134655440d378889591389e2df04af6.tar.gz
update submodule simple-opt
pull v1.4
Diffstat (limited to 'src')
-rw-r--r--src/opt.c4
1 files changed, 2 insertions, 2 deletions
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);
}