aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2005-01-05 17:02:53 +0000
committerJason Woodward2005-01-05 17:02:53 +0000
commitb29c93eede751762a589750535f18d0edf1c0836 (patch)
treea57208f124eae586b2220651a4a9d8a0470bd2a0 /src
parent07841d29106b9538303a963c73885d79aa36ab6b (diff)
downloadslapt-get-b29c93eede751762a589750535f18d0edf1c0836.tar.gz
fixed bug (in -current with glibc 3.3.3) where unknown option to getopt_long_only caused segfaults by adding a missing {0, 0, 0, 0}
Diffstat (limited to 'src')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index d822492..b13a348 100644
--- a/src/main.c
+++ b/src/main.c
@@ -58,6 +58,7 @@ int main( int argc, char *argv[] ){
{"S",0, 0, 'S'},
{"config",1, 0, 'C'},
{"autoclean", 0, 0, 'a'},
+ {0, 0, 0, 0},
};
/*