From: Lennart Poettering Date: Sat, 15 Jul 2006 11:48:31 +0000 (+0000) Subject: properly finish getopt argument table with a NULL entry (see #50) X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=9d58b3d0814aeea8509ecaba28266fef80725c70;p=catta properly finish getopt argument table with a NULL entry (see #50) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1234 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-dnsconfd/main.c b/avahi-dnsconfd/main.c index dafa718..d2fcf71 100644 --- a/avahi-dnsconfd/main.c +++ b/avahi-dnsconfd/main.c @@ -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;