summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-08-01 20:54:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:19 -0500
commit14a9d52832b19a698968900da6378d542d6a21ce (patch)
tree3c74f3434ba64313cc611d8f6168f544c9a92702 /source3/libads
parent473cfa4c35170ec51a9ae92986ff2891e5068d4b (diff)
downloadsamba-14a9d52832b19a698968900da6378d542d6a21ce.tar.gz
samba-14a9d52832b19a698968900da6378d542d6a21ce.tar.bz2
samba-14a9d52832b19a698968900da6378d542d6a21ce.zip
r8899: various compiler warning fixes reported by Jason Mader <jason@ncac.gwu.edu>
(This used to be commit d8ae9f2b3e5387ef2c4e84cd9c33f4a7c795b0d3)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ldap_printer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/ldap_printer.c b/source3/libads/ldap_printer.c
index 9773296ae0..f4ecbdd93c 100644
--- a/source3/libads/ldap_printer.c
+++ b/source3/libads/ldap_printer.c
@@ -286,7 +286,7 @@ WERROR get_remote_printer_publishing_data(struct cli_state *cli,
return result;
}
- result = cli_spoolss_enumprinterdataex(cli, mem_ctx, &pol, SPOOL_DSDRIVER_KEY, NULL);
+ result = cli_spoolss_enumprinterdataex(cli, mem_ctx, &pol, SPOOL_DSDRIVER_KEY, &dsdriver_ctr);
if (!W_ERROR_IS_OK(result)) {
DEBUG(3, ("Unable to do enumdataex on %s, error is %s.\n",
@@ -300,7 +300,7 @@ WERROR get_remote_printer_publishing_data(struct cli_state *cli,
dsdriver_ctr.values[i]);
}
- result = cli_spoolss_enumprinterdataex(cli, mem_ctx, &pol, SPOOL_DSSPOOLER_KEY, NULL);
+ result = cli_spoolss_enumprinterdataex(cli, mem_ctx, &pol, SPOOL_DSSPOOLER_KEY, &dsspooler_ctr);
if (!W_ERROR_IS_OK(result)) {
DEBUG(3, ("Unable to do enumdataex on %s, error is %s.\n",