From e20695a5036961cbb3b8ac24744273b7b8e5d31f Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 4 Aug 2005 03:25:33 +0000 Subject: r9041: typo. Thanks jerry. Guenther (This used to be commit 7afb424091eee603c7a858cf27e73bff45f6f9a2) --- source3/rpc_client/cli_spoolss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/rpc_client') diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c index 66d3a6437d..4e57b763e2 100644 --- a/source3/rpc_client/cli_spoolss.c +++ b/source3/rpc_client/cli_spoolss.c @@ -1589,7 +1589,7 @@ WERROR cli_spoolss_enumprinterdata(struct cli_state *cli, TALLOC_CTX *mem_ctx, if ( value_needed ) *value_needed = out.realvaluesize; - if ( data_offered ) + if ( data_needed ) *data_needed = out.realdatasize; if (!W_ERROR_IS_OK(out.status)) -- cgit