summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-08-04 03:25:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:24 -0500
commite20695a5036961cbb3b8ac24744273b7b8e5d31f (patch)
tree16a97ad4854c6b2f868f86e065221d402a36e306 /source3
parent83d12580aa019845c7178ea1dfd5a432290b84e3 (diff)
downloadsamba-e20695a5036961cbb3b8ac24744273b7b8e5d31f.tar.gz
samba-e20695a5036961cbb3b8ac24744273b7b8e5d31f.tar.bz2
samba-e20695a5036961cbb3b8ac24744273b7b8e5d31f.zip
r9041: typo. Thanks jerry.
Guenther (This used to be commit 7afb424091eee603c7a858cf27e73bff45f6f9a2)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_client/cli_spoolss.c2
1 files changed, 1 insertions, 1 deletions
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))