summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-07-15 11:48:31 +0000
committerLennart Poettering <lennart@poettering.net>2006-07-15 11:48:31 +0000
commit9d58b3d0814aeea8509ecaba28266fef80725c70 (patch)
treec87dda53bf5354733068d7bb04dbe9a4a3256fd7
parenta02f52ea82e500a05b3d633a97ed1fe711a6dd75 (diff)
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
-rw-r--r--avahi-dnsconfd/main.c1
1 files changed, 1 insertions, 0 deletions
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;