[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-unstable-125-g9993f8d
Jeremy Allison
jra at samba.org
Fri Oct 26 23:28:55 GMT 2007
The branch, v3-2-test has been updated
via 9993f8d1af23735f3a4b6de82f5825a6a6ba22d6 (commit)
from a3f7db3d30ced566c8340696914f1be3293a9c5b (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 9993f8d1af23735f3a4b6de82f5825a6a6ba22d6
Author: Jeremy Allison <jra at samba.org>
Date: Fri Oct 26 16:22:18 2007 -0700
Fix popt bool problems (need POPT_ARG_NONE, not POPT_ARG_VALUE).
Reported by kukks - thanks !
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/utils/nmblookup.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/utils/nmblookup.c b/source/utils/nmblookup.c
index e68c786..7293e36 100644
--- a/source/utils/nmblookup.c
+++ b/source/utils/nmblookup.c
@@ -244,11 +244,11 @@ int main(int argc,char *argv[])
{ "flags", 'f', POPT_ARG_NONE, NULL, 'f', "List the NMB flags returned" },
{ "unicast", 'U', POPT_ARG_STRING, NULL, 'U', "Specify address to use for unicast" },
{ "master-browser", 'M', POPT_ARG_NONE, NULL, 'M', "Search for a master browser" },
- { "recursion", 'R', POPT_ARG_VAL, NULL, 'R', "Set recursion desired in package" },
- { "status", 'S', POPT_ARG_VAL, NULL, 'S', "Lookup node status as well" },
+ { "recursion", 'R', POPT_ARG_NONE, NULL, 'R', "Set recursion desired in package" },
+ { "status", 'S', POPT_ARG_NONE, NULL, 'S', "Lookup node status as well" },
{ "translate", 'T', POPT_ARG_NONE, NULL, 'T', "Translate IP addresses into names" },
- { "root-port", 'r', POPT_ARG_VAL, NULL, 'r', "Use root port 137 (Win95 only replies to this)" },
- { "lookup-by-ip", 'A', POPT_ARG_VAL, NULL, 'A', "Do a node status on <name> as an IP Address" },
+ { "root-port", 'r', POPT_ARG_NONE, NULL, 'r', "Use root port 137 (Win95 only replies to this)" },
+ { "lookup-by-ip", 'A', POPT_ARG_NONE, NULL, 'A', "Do a node status on <name> as an IP Address" },
POPT_COMMON_SAMBA
POPT_COMMON_CONNECTION
{ 0, 0, 0, 0 }
--
Samba Shared Repository
More information about the samba-cvs
mailing list