summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-02-26 14:45:07 +0100
committerGünther Deschner <gd@samba.org>2010-02-26 17:39:21 +0100
commit3ca8d28bb7c33fe7733f036c8a6254545b0410ce (patch)
tree23baf354fd80c2923dc9da015c9560f039dd1f06 /source3
parentb1f18fb808d56e5c29e78e838802553c5e95f824 (diff)
downloadsamba-3ca8d28bb7c33fe7733f036c8a6254545b0410ce.tar.gz
samba-3ca8d28bb7c33fe7733f036c8a6254545b0410ce.tar.bz2
samba-3ca8d28bb7c33fe7733f036c8a6254545b0410ce.zip
spoolss: fix build and version in spoolss_PrinterInfo0 (aka PRINTER_INFO_STRESS).
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index b978a5cc04..c7f66bc279 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;