From: Gerald Carter Date: Tue, 22 Mar 2005 14:44:16 +0000 (+0000) Subject: r5946: BUG 2497: fix bug in rpcclient's deletedriverex when asking to delete all... X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5080 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f0060278609a194b76872367530d2f7bcea7fa7;p=thirdparty%2Fsamba.git r5946: BUG 2497: fix bug in rpcclient's deletedriverex when asking to delete all versions of a driver --- diff --git a/source/rpc_client/cli_spoolss.c b/source/rpc_client/cli_spoolss.c index ac2d5bd31e6..518c20ff9b0 100644 --- a/source/rpc_client/cli_spoolss.c +++ b/source/rpc_client/cli_spoolss.c @@ -1077,7 +1077,7 @@ WERROR cli_spoolss_addprinterex (struct cli_state *cli, TALLOC_CTX *mem_ctx, */ WERROR cli_spoolss_deleteprinterdriverex(struct cli_state *cli, TALLOC_CTX *mem_ctx, const char *arch, - const char *driver, uint32 version) + const char *driver, int version) { prs_struct qbuf, rbuf; SPOOL_Q_DELETEPRINTERDRIVEREX q; diff --git a/source/rpc_parse/parse_spoolss.c b/source/rpc_parse/parse_spoolss.c index 02790749464..c64587b5904 100644 --- a/source/rpc_parse/parse_spoolss.c +++ b/source/rpc_parse/parse_spoolss.c @@ -1210,7 +1210,7 @@ BOOL make_spoolss_q_deleteprinterdriverex( TALLOC_CTX *mem_ctx, const char *server, const char* arch, const char* driver, - uint32 version) + int version) { DEBUG(5,("make_spoolss_q_deleteprinterdriverex\n"));