From 77ce719b7e1747a199636282a331c8efa8f49f17 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 17 Jan 2007 07:22:10 +0000 Subject: [PATCH] =?UTF-8?q?=20=20*=20Fix=20a=20longopt=20parsing=20crash,?= =?UTF-8?q?=20thanks=20to=20Matti=20H=C3=A4m=C3=A4l=C3=A4inen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/zzuf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zzuf.c b/src/zzuf.c index d6f0448..756ea46 100644 --- a/src/zzuf.c +++ b/src/zzuf.c @@ -147,6 +147,7 @@ int main(int argc, char *argv[]) { "check-exit", 0, NULL, 'x' }, { "help", 0, NULL, 'h' }, { "version", 0, NULL, 'V' }, + { NULL, 0, NULL, 0 } }; int c = getopt_long(argc, argv, OPTSTR, long_options, &option_index); # else