fix
This commit is contained in:
parent
ef2a45b225
commit
ef22fd5459
@ -308,7 +308,8 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
char *configFilename = DEFAULT_CONFIG_FILENAME;
|
char *configFilename = DEFAULT_CONFIG_FILENAME;
|
||||||
|
|
||||||
while ((int c = getopt(argc, argv, "f:")) != -1) {
|
int c;
|
||||||
|
while ((c = getopt(argc, argv, "f:")) != -1) {
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 'f':
|
case 'f':
|
||||||
configFilename = strdup(optarg);
|
configFilename = strdup(optarg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user