summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2003-01-18 20:41:19 +0000
committerJim McDonough <jmcd@samba.org>2003-01-18 20:41:19 +0000
commite2f25587530e8c8345c7d24cd6ed7a26c757cabf (patch)
treefb6ed19720d2c53c8c5847e23136f8f30623e257 /source3/rpc_server
parent85a8304c421dfc972927beca4819634e93f80dcb (diff)
downloadsamba-e2f25587530e8c8345c7d24cd6ed7a26c757cabf.tar.gz
samba-e2f25587530e8c8345c7d24cd6ed7a26c757cabf.tar.bz2
samba-e2f25587530e8c8345c7d24cd6ed7a26c757cabf.zip
Fix some debug levels (were set to 0 with RPC module patch), and
change one fprintf(stderr,...) to DEBUG. (This used to be commit 77f8913977343023f8ce123c305dcffc7463357b)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_pipe.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index f99bd75974..4c4b3e7af3 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -864,7 +864,7 @@ BOOL api_pipe_bind_req(pipes_struct *p, prs_struct *rpc_in_p)
for (i = 0; i < rpc_lookup_size; i++) {
if (strequal(rpc_lookup[i].pipe.clnt, p->name)) {
- DEBUG(0, ("api_pipe_bind_req: \\PIPE\\%s -> \\PIPE\\%s\n",
+ DEBUG(3, ("api_pipe_bind_req: \\PIPE\\%s -> \\PIPE\\%s\n",
rpc_lookup[i].pipe.clnt, rpc_lookup[i].pipe.srv));
fstrcpy(p->pipe_srv_name, rpc_lookup[i].pipe.srv);
break;
@@ -889,7 +889,7 @@ BOOL api_pipe_bind_req(pipes_struct *p, prs_struct *rpc_in_p)
for (i = 0; i < rpc_lookup_size; i++) {
if (strequal(rpc_lookup[i].pipe.clnt, p->name)) {
- DEBUG(0, ("api_pipe_bind_req: \\PIPE\\%s -> \\PIPE\\%s\n",
+ DEBUG(3, ("api_pipe_bind_req: \\PIPE\\%s -> \\PIPE\\%s\n",
rpc_lookup[i].pipe.clnt, rpc_lookup[i].pipe.srv));
fstrcpy(p->pipe_srv_name, rpc_lookup[i].pipe.srv);
break;
@@ -1362,8 +1362,8 @@ BOOL api_rpcTNP(pipes_struct *p, const char *rpc_name,
offset1 = prs_offset(&p->out_data.rdata);
- fprintf(stderr, "api_rpc_cmds[%d].fn == %p\n",
- fn_num, api_rpc_cmds[fn_num].fn);
+ DEBUG(6, ("api_rpc_cmds[%d].fn == %p\n",
+ fn_num, api_rpc_cmds[fn_num].fn));
/* do the actual command */
if(!api_rpc_cmds[fn_num].fn(p)) {
DEBUG(0,("api_rpcTNP: %s: %s failed.\n", rpc_name, api_rpc_cmds[fn_num].name));