summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-05-24 05:51:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:00 -0500
commit4867378592656d812fcd02d1ea24ccb2c99bf9b7 (patch)
tree30e99a6e66bd48e523357222b503127de7e520ce /source4/lib
parent488882352443d7aa0b5f62f2286b2cb4ffaafd83 (diff)
downloadsamba-4867378592656d812fcd02d1ea24ccb2c99bf9b7.tar.gz
samba-4867378592656d812fcd02d1ea24ccb2c99bf9b7.tar.bz2
samba-4867378592656d812fcd02d1ea24ccb2c99bf9b7.zip
r6951: 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. (-: (This used to be commit affacc539864435cbc749a4c1a6b848c61b7182b)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/registry/tools/regdiff.c2
-rw-r--r--source4/lib/registry/tools/regpatch.c2
-rw-r--r--source4/lib/registry/tools/regshell.c2
-rw-r--r--source4/lib/registry/tools/regtree.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/registry/tools/regdiff.c b/source4/lib/registry/tools/regdiff.c
index dfc8be13ca..4260a56142 100644
--- a/source4/lib/registry/tools/regdiff.c
+++ b/source4/lib/registry/tools/regdiff.c
@@ -157,7 +157,7 @@ static void writediff(struct registry_key *oldkey, struct registry_key *newkey,
return 1;
}
}
- setup_logging(argv[0], True);
+ setup_logging(argv[0], DEBUG_STDOUT);
poptFreeContext(pc);
diff --git a/source4/lib/registry/tools/regpatch.c b/source4/lib/registry/tools/regpatch.c
index aeb418560d..5c9851b71b 100644
--- a/source4/lib/registry/tools/regpatch.c
+++ b/source4/lib/registry/tools/regpatch.c
@@ -766,7 +766,7 @@ static int nt_apply_reg_command_file(struct registry_context *r, const char *cmd
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);
diff --git a/source4/lib/registry/tools/regshell.c b/source4/lib/registry/tools/regshell.c
index ecc2bfc7aa..f1fd740830 100644
--- a/source4/lib/registry/tools/regshell.c
+++ b/source4/lib/registry/tools/regshell.c
@@ -392,7 +392,7 @@ static char **reg_completion(const char *text, int start, int end)
while((opt = poptGetNextOpt(pc)) != -1) {
}
- setup_logging("regtree", True);
+ setup_logging("regtree", DEBUG_STDOUT);
if (remote) {
error = reg_open_remote (&h, cmdline_credentials, remote);
diff --git a/source4/lib/registry/tools/regtree.c b/source4/lib/registry/tools/regtree.c
index 72cb0670de..2cf5f6ab96 100644
--- a/source4/lib/registry/tools/regtree.c
+++ b/source4/lib/registry/tools/regtree.c
@@ -102,7 +102,7 @@ static void print_tree(int l, struct registry_key *p, int fullpath, int novals)
while((opt = poptGetNextOpt(pc)) != -1) {
}
- setup_logging("regtree", True);
+ setup_logging("regtree", DEBUG_STDOUT);
if (remote) {
error = reg_open_remote(&h, cmdline_credentials, remote);