s3-spoolss: Pass the right pointer type.
authorJeremy Allison <jra@samba.org>
Wed, 25 Jan 2012 18:19:14 +0000 (19:19 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 25 Jan 2012 18:19:14 +0000 (19:19 +0100)
Follow-up fix for an issue introduced by a fix for bug #4942.

source3/rpc_server/spoolss/srv_spoolss_nt.c

index ea99d10a4275ad9650a3f4fe06ca2ab512dfd80d..4cc06597b92d92ffa2c84a2f91b644424efd09a1 100644 (file)
@@ -2179,7 +2179,7 @@ static WERROR spoolss_dpd_version(TALLOC_CTX *mem_ctx,
        if (delete_files) {
                bool in_use = printer_driver_files_in_use(mem_ctx,
                                                get_session_info_system(),
-                                                         b,
+                                                         p->msg_ctx,
                                                          info);
                if (in_use && (r->in.delete_flags & DPD_DELETE_ALL_FILES)) {
                        status = WERR_PRINTER_DRIVER_IN_USE;