From b3c2b2260a503079b9abf22f6b35b56c61c2b372 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 18 Feb 2010 12:40:00 +0100 Subject: s3-spoolss: Fix _spoolss_EnumPrinters servername handling. Guenther --- source3/rpc_server/srv_spoolss_nt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/rpc_server') diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 445a65465b..9d9a148a02 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -4309,7 +4309,7 @@ WERROR _spoolss_EnumPrinters(pipes_struct *p, * Level 5: same as Level 2 */ - if (name) { + if (r->in.server) { name = talloc_strdup_upper(p->mem_ctx, r->in.server); W_ERROR_HAVE_NO_MEMORY(name); } -- cgit