From 3ca8d28bb7c33fe7733f036c8a6254545b0410ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Fri, 26 Feb 2010 14:45:07 +0100 Subject: [PATCH] spoolss: fix build and version in spoolss_PrinterInfo0 (aka PRINTER_INFO_STRESS). Guenther --- source3/rpc_server/srv_spoolss_nt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index b978a5cc047..c7f66bc279f 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -3587,8 +3587,9 @@ static WERROR construct_printer_info0(TALLOC_CTX *mem_ctx, r->global_counter = session_counter->counter; r->total_pages = 0; /* in 2.2 we reported ourselves as 0x0004 and 0x0565 */ - r->version = 0x0005; /* NT 5 */ - r->free_build = 0x0893; /* build 2195 */ + SSVAL(&r->version, 0, 0x0005); /* NT 5 */ + SSVAL(&r->version, 2, 0x0893); /* build 2195 */ + r->free_build = SPOOLSS_RELEASE_BUILD; r->spooling = 0; r->max_spooling = 0; r->session_counter = session_counter->counter; -- 2.11.4.GIT