]> git.itanic.dy.fi Git - rrdd/commit
main: Add NULL terminator to option array
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sat, 19 May 2012 18:06:49 +0000 (21:06 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sat, 19 May 2012 18:06:49 +0000 (21:06 +0300)
commit0309001359385b31fa63ea7a5617c3414aada780
treed8abfd7caf32268192ed2a98cb90599bfd450edc
parentab8c812812f89fd184a7a3e42b0369ff82a7d18e
main: Add NULL terminator to option array

getopt_long() requires the struct option array to be terminated with
an element that is filled with zeroes.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
main.c