From 46a6e7f62ba2c72d6288290857193eed280c6d2a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 23 Mar 2003 00:47:35 +0000 Subject: We don't need optarg when we have popt (This used to be commit b46581ef153296a0a04f773115cb2ddad4d44686) --- source3/utils/nmblookup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/utils/nmblookup.c') diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c index 3ff7f6c609..97cea3a7bb 100644 --- a/source3/utils/nmblookup.c +++ b/source3/utils/nmblookup.c @@ -222,12 +222,12 @@ int main(int argc,char *argv[]) switch (opt) { case 'B': - bcast_addr = *interpret_addr2(optarg); + bcast_addr = *interpret_addr2(poptGetOptArg(pc)); got_bcast = True; use_bcast = True; break; case 'U': - bcast_addr = *interpret_addr2(optarg); + bcast_addr = *interpret_addr2(poptGetOptArg(pc)); got_bcast = True; use_bcast = False; break; -- cgit