terminate longopt list to prevent crashes on FreeBSD

This commit is contained in:
Hartmut Holzgraefe 2011-06-12 10:52:22 +02:00
parent 3479ac3f86
commit 77bb51d397
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ int main(int argc, char *argv[]) {
static struct option long_options[] = {
{"color", no_argument, 0, 'c'},
{0,0,0,0}
};
while (1) {