3
0
Fork 0

Merge pull request #338 from kiwix/kiwix_server_no_arg

Do not loop infinitely if there is no argument passed to kiwix-serve.
small_fixes
Kelson 9 years ago committed by GitHub
commit defa768b25

@ -517,7 +517,7 @@ int main(int argc, char **argv) {
break;
}
} else {
if (optind < argc) {
if (optind <= argc) {
if (libraryFlag)
{
libraryPath = argv[optind++];

Loading…
Cancel
Save