diff options
author | Gerald Carter <jerry@samba.org> | 2005-08-01 20:54:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:00:19 -0500 |
commit | d8ae9f2b3e5387ef2c4e84cd9c33f4a7c795b0d3 (patch) | |
tree | c6699efccb78e0969b0b24c6768f2566e7c50949 /source/libads/ldap_printer.c | |
parent | 7648f6cef038dde7fdfbe157784f2fd5437218b0 (diff) | |
download | samba-d8ae9f2b3e5387ef2c4e84cd9c33f4a7c795b0d3.tar.gz samba-d8ae9f2b3e5387ef2c4e84cd9c33f4a7c795b0d3.tar.xz samba-d8ae9f2b3e5387ef2c4e84cd9c33f4a7c795b0d3.zip |
r8899: various compiler warning fixes reported by Jason Mader <jason@ncac.gwu.edu>
Diffstat (limited to 'source/libads/ldap_printer.c')
-rw-r--r-- | source/libads/ldap_printer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/libads/ldap_printer.c b/source/libads/ldap_printer.c index 9773296ae08..f4ecbdd93ce 100644 --- a/source/libads/ldap_printer.c +++ b/source/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", |