Fix bug where format arguments were reversed. Please compile with -Wall !
authorJeremy Allison <jra@samba.org>
Wed, 1 Jun 2011 21:45:59 +0000 (14:45 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 1 Jun 2011 21:53:07 +0000 (23:53 +0200)
source3/rpc_server/rpc_handles.c

index 0b302510e07f3b5065c12b781d65b34c56a96c93..7fa59b6b117a89e547a02d5b7104b90ccc334ea7 100644 (file)
@@ -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;
        }