* Fix a longopt parsing crash, thanks to Matti Hämäläinen.

This commit is contained in:
Sam Hocevar
2007-01-17 07:22:10 +00:00
committed by sam
parent e10cc503bc
commit 77ce719b7e

View File

@@ -147,6 +147,7 @@ int main(int argc, char *argv[])
{ "check-exit", 0, NULL, 'x' },
{ "help", 0, NULL, 'h' },
{ "version", 0, NULL, 'V' },
{ NULL, 0, NULL, 0 }
};
int c = getopt_long(argc, argv, OPTSTR, long_options, &option_index);
# else