git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated the 3.0 branch from the head branch - ready for alpha18
[samba.git]
/
source3
/
lib
/
debug.c
diff --git
a/source3/lib/debug.c
b/source3/lib/debug.c
index 834c1b38f7c6c67d84cefdd0e5ed83e4ba5e93f5..f41c3b649760961fa8a4514036a3f731b4c9b1f8 100644
(file)
--- a/
source3/lib/debug.c
+++ b/
source3/lib/debug.c
@@
-149,7
+149,7
@@
static const char *default_classname_table[] = {
"printdrivers", /* DBGC_PRINTDRIVERS */
"lanman", /* DBGC_LANMAN */
"smb", /* DBGC_SMB */
"printdrivers", /* DBGC_PRINTDRIVERS */
"lanman", /* DBGC_LANMAN */
"smb", /* DBGC_SMB */
- "rpc
", /* DBGC_RPC
*/
+ "rpc
_parse", /* DBGC_RPC_PARSE
*/
"rpc_srv", /* DBGC_RPC_SRV */
"rpc_cli", /* DBGC_RPC_CLI */
"passdb", /* DBGC_PASSDB */
"rpc_srv", /* DBGC_RPC_SRV */
"rpc_cli", /* DBGC_RPC_CLI */
"passdb", /* DBGC_PASSDB */
@@
-423,16
+423,16
@@
BOOL debug_parse_levels(const char *params_str)
if (AllowDebugChange == False)
return True;
if (AllowDebugChange == False)
return True;
- params =
lp
_list_make(params_str);
+ params =
str
_list_make(params_str);
if (debug_parse_params(params, DEBUGLEVEL_CLASS,
DEBUGLEVEL_CLASS_ISSET))
{
debug_dump_status(5);
if (debug_parse_params(params, DEBUGLEVEL_CLASS,
DEBUGLEVEL_CLASS_ISSET))
{
debug_dump_status(5);
-
lp
_list_free(¶ms);
+
str
_list_free(¶ms);
return True;
} else {
return True;
} else {
-
lp
_list_free(¶ms);
+
str
_list_free(¶ms);
return False;
}
}
return False;
}
}
@@
-516,7
+516,7
@@
void debug_init(void)
* get ready for syslog stuff
* ************************************************************************** **
*/
* get ready for syslog stuff
* ************************************************************************** **
*/
-void setup_logging(char *pname, BOOL interactive)
+void setup_logging(c
onst c
har *pname, BOOL interactive)
{
debug_init();
{
debug_init();
@@
-531,7
+531,7
@@
void setup_logging(char *pname, BOOL interactive)
}
#ifdef WITH_SYSLOG
else {
}
#ifdef WITH_SYSLOG
else {
- char *p = strrchr_m( pname,'/' );
+ c
onst c
har *p = strrchr_m( pname,'/' );
if (p)
pname = p + 1;
#ifdef LOG_DAEMON
if (p)
pname = p + 1;
#ifdef LOG_DAEMON