From e2e889d640a9f444559d60e05723c8d35c74e239 Mon Sep 17 00:00:00 2001 From: nohar Date: Sun, 2 Jul 2006 13:32:00 +0000 Subject: [PATCH] getopt bugfix --- src/bip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bip.c b/src/bip.c index be86641..e917333 100644 --- a/src/bip.c +++ b/src/bip.c @@ -902,7 +902,7 @@ int main(int argc, char **argv) conf_global_log_file = stderr; conf_pid_file = NULL; - while ((ch = getopt(argc, argv, "hnfs:")) != -1) { + while ((ch = getopt(argc, argv, "hnf:s:")) != -1) { switch (ch) { case 'f': confpath = strdup(optarg);