]> git.meshlink.io Git - catta/commitdiff
properly finish getopt argument table with a NULL entry (see #50)
authorLennart Poettering <lennart@poettering.net>
Sat, 15 Jul 2006 11:48:31 +0000 (11:48 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 15 Jul 2006 11:48:31 +0000 (11:48 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1234 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-dnsconfd/main.c

index dafa718b5cfecc410716a8f6217ed2104505faee..d2fcf713a13ac19d115c92d97c0c365c6f5a26f2 100644 (file)
@@ -393,6 +393,7 @@ static int parse_command_line(int argc, char *argv[]) {
         { "version",   no_argument,       NULL, 'V' },
         { "refresh",   no_argument,       NULL, 'r' },
         { "check",     no_argument,       NULL, 'c' },
+        { NULL, 0, NULL, 0 }
     };
 
     opterr = 0;