From f8778ba8f4c234648230dba0249cd189fcd0d4d1 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 10 Feb 2010 00:43:51 +0100 Subject: s4-smbtorture: use test_GetPrinter_level in RPC-SPOOLSS-NOTIFY. Guenther --- source4/torture/rpc/spoolss.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source4/torture/rpc/spoolss.c') diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index 489174bde6..d38f11ba94 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -23,10 +23,10 @@ #include "includes.h" #include "torture/torture.h" -#include "torture/rpc/rpc.h" #include "librpc/gen_ndr/ndr_misc.h" #include "librpc/gen_ndr/ndr_spoolss.h" #include "librpc/gen_ndr/ndr_spoolss_c.h" +#include "torture/rpc/rpc.h" #include "param/param.h" #define TORTURE_WELLKNOWN_PRINTER "torture_wkn_printer" @@ -865,11 +865,11 @@ static bool test_GetPrinterDriver2(struct torture_context *tctx, struct policy_handle *handle, const char *driver_name); -static bool test_GetPrinter_level(struct torture_context *tctx, - struct dcerpc_pipe *p, - struct policy_handle *handle, - uint32_t level, - union spoolss_PrinterInfo *info) +bool test_GetPrinter_level(struct torture_context *tctx, + struct dcerpc_pipe *p, + struct policy_handle *handle, + uint32_t level, + union spoolss_PrinterInfo *info) { struct spoolss_GetPrinter r; uint32_t needed; -- cgit