mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
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 commit is contained in:
parent
e077d9948f
commit
affacc5398
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -197,7 +197,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
/* 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);
|
||||
|
||||
|
@ -271,7 +271,7 @@ int main(int argc,char *argv[])
|
||||
{ 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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user