summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-06-01 14:45:59 -0700
committerJeremy Allison <jra@samba.org>2011-06-01 23:53:07 +0200
commitb08bd96dc0919ae1194f1269c01a78194d674e9c (patch)
tree43dacbd3275af6b8cd2d0c5a8c3599ae56bd8e47 /source3/rpc_server
parentfebde0de5418ec40bb08159505e88997d9eb543c (diff)
downloadsamba-b08bd96dc0919ae1194f1269c01a78194d674e9c.tar.gz
samba-b08bd96dc0919ae1194f1269c01a78194d674e9c.tar.bz2
samba-b08bd96dc0919ae1194f1269c01a78194d674e9c.zip
Fix bug where format arguments were reversed. Please compile with -Wall !
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/rpc_handles.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/rpc_handles.c b/source3/rpc_server/rpc_handles.c
index 0b302510e0..7fa59b6b11 100644
--- a/source3/rpc_server/rpc_handles.c
+++ b/source3/rpc_server/rpc_handles.c
@@ -363,9 +363,9 @@ void *_policy_handle_create(struct pipes_struct *p, struct policy_handle *hnd,
if (p->pipe_handles->count > MAX_OPEN_POLS) {
DEBUG(0, ("ERROR: Too many handles (%d) for RPC connection %s\n",
+ (int) p->pipe_handles->count,
get_pipe_name_from_syntax(talloc_tos(),
- &p->contexts->syntax),
- (int) p->pipe_handles->count));
+ &p->contexts->syntax)));
*pstatus = NT_STATUS_INSUFFICIENT_RESOURCES;
return NULL;
}