diff options
| author | jakob <jakob@memeware.net> | 2017-04-01 15:47:28 -0400 |
|---|---|---|
| committer | jakob <jakob@memeware.net> | 2017-04-01 15:47:28 -0400 |
| commit | 5ac05edbb64b89741728ba006b0ce681a5d51595 (patch) | |
| tree | d31d0f396181821bb5bd40fffd6e4c92bb025f7c /src/cli.h | |
| parent | 06ef3f15929b4de343f4f749bade08f6b4783d3a (diff) | |
Fixed segmentation fault on invalid paths, cleaned up code
Diffstat (limited to 'src/cli.h')
| -rw-r--r-- | src/cli.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -33,12 +33,12 @@ enum { /* Structure for storing options set from the command-line. */ struct params { - int mode; /* Current mode of operation. */ - int game; /* Which encryption keys to use. */ - bool verbose; /* Whether or not to output progress messages. */ + int mode; /* Current mode of operation. */ + int game; /* Which encryption keys to use. */ + bool verbose; /* Whether or not to output progress messages. */ int vararg_index; /* Start index of paths in argv. */ - char *out; /* Path to extract files to. */ - size_t out_len; /* Length of the output path string. */ + char *out; /* Path to extract files to. */ + size_t out_len; /* Length of the output path string. */ }; /* Returns a params structure parsed from `argv`. */ |