svn commit: samba r6951 - in branches/SAMBA_4_0/source:
lib/registry/tools torture utils
tpot at samba.org
tpot at samba.org
Tue May 24 05:51:21 GMT 2005
Author: tpot
Date: 2005-05-24 05:51:20 +0000 (Tue, 24 May 2005)
New Revision: 6951
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6951
Log:
Fix all calls to setup_logging() that use 'True' as a second argument.
In Samba4 this is now an enum. Possibly by accident, True just happens
to map to the right value in this case. (-:
Modified:
branches/SAMBA_4_0/source/lib/registry/tools/regdiff.c
branches/SAMBA_4_0/source/lib/registry/tools/regpatch.c
branches/SAMBA_4_0/source/lib/registry/tools/regshell.c
branches/SAMBA_4_0/source/lib/registry/tools/regtree.c
branches/SAMBA_4_0/source/torture/smbiconv.c
branches/SAMBA_4_0/source/utils/nmblookup.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/registry/tools/regdiff.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/tools/regdiff.c 2005-05-24 04:55:30 UTC (rev 6950)
+++ branches/SAMBA_4_0/source/lib/registry/tools/regdiff.c 2005-05-24 05:51:20 UTC (rev 6951)
@@ -157,7 +157,7 @@
return 1;
}
}
- setup_logging(argv[0], True);
+ setup_logging(argv[0], DEBUG_STDOUT);
poptFreeContext(pc);
Modified: branches/SAMBA_4_0/source/lib/registry/tools/regpatch.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/tools/regpatch.c 2005-05-24 04:55:30 UTC (rev 6950)
+++ branches/SAMBA_4_0/source/lib/registry/tools/regpatch.c 2005-05-24 05:51:20 UTC (rev 6951)
@@ -766,7 +766,7 @@
while((opt = poptGetNextOpt(pc)) != -1) {
}
- setup_logging(argv[0], True);
+ setup_logging(argv[0], DEBUG_STDOUT);
if (remote) {
error = reg_open_remote (&h, cmdline_credentials, remote);
Modified: branches/SAMBA_4_0/source/lib/registry/tools/regshell.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/tools/regshell.c 2005-05-24 04:55:30 UTC (rev 6950)
+++ branches/SAMBA_4_0/source/lib/registry/tools/regshell.c 2005-05-24 05:51:20 UTC (rev 6951)
@@ -392,7 +392,7 @@
while((opt = poptGetNextOpt(pc)) != -1) {
}
- setup_logging("regtree", True);
+ setup_logging("regtree", DEBUG_STDOUT);
if (remote) {
error = reg_open_remote (&h, cmdline_credentials, remote);
Modified: branches/SAMBA_4_0/source/lib/registry/tools/regtree.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/tools/regtree.c 2005-05-24 04:55:30 UTC (rev 6950)
+++ branches/SAMBA_4_0/source/lib/registry/tools/regtree.c 2005-05-24 05:51:20 UTC (rev 6951)
@@ -102,7 +102,7 @@
while((opt = poptGetNextOpt(pc)) != -1) {
}
- setup_logging("regtree", True);
+ setup_logging("regtree", DEBUG_STDOUT);
if (remote) {
error = reg_open_remote(&h, cmdline_credentials, remote);
Modified: branches/SAMBA_4_0/source/torture/smbiconv.c
===================================================================
--- branches/SAMBA_4_0/source/torture/smbiconv.c 2005-05-24 04:55:30 UTC (rev 6950)
+++ branches/SAMBA_4_0/source/torture/smbiconv.c 2005-05-24 05:51:20 UTC (rev 6951)
@@ -197,7 +197,7 @@
/* the following functions are part of the Samba debugging
facilities. See lib/debug.c */
- setup_logging("smbiconv", True);
+ setup_logging("smbiconv", DEBUG_STDOUT);
if (preload_modules[0]) smb_load_modules(preload_modules);
Modified: branches/SAMBA_4_0/source/utils/nmblookup.c
===================================================================
--- branches/SAMBA_4_0/source/utils/nmblookup.c 2005-05-24 04:55:30 UTC (rev 6950)
+++ branches/SAMBA_4_0/source/utils/nmblookup.c 2005-05-24 05:51:20 UTC (rev 6951)
@@ -271,7 +271,7 @@
{ 0, 0, 0, 0 }
};
- setup_logging(argv[0], True);
+ setup_logging(argv[0], DEBUG_STDOUT);
pc = poptGetContext("nmblookup", argc, (const char **)argv, long_options,
POPT_CONTEXT_KEEP_FIRST);
More information about the samba-cvs
mailing list