summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-12-07 16:18:55 +0100
committerGünther Deschner <gd@samba.org>2009-12-08 11:50:54 +0100
commit0efbd932b63af0232547571b249fa54de5e1bce2 (patch)
treede393e26242c18b8b6469595ce6e848e1e7d7d27
parentaf08962c94b8f91c8a509881dece5720e914bc45 (diff)
downloadsamba-0efbd932b63af0232547571b249fa54de5e1bce2.tar.gz
samba-0efbd932b63af0232547571b249fa54de5e1bce2.tar.bz2
samba-0efbd932b63af0232547571b249fa54de5e1bce2.zip
s3-spoolss: remove unused architecture from fill_printer_driver_info1().
Guenther
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 1aa924a97b..13c3710a9a 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -4498,8 +4498,7 @@ static const char **string_array_from_driver_info(TALLOC_CTX *mem_ctx,
static WERROR fill_printer_driver_info1(TALLOC_CTX *mem_ctx,
struct spoolss_DriverInfo1 *r,
const struct spoolss_DriverInfo8 *driver,
- const char *servername,
- const char *architecture)
+ const char *servername)
{
r->driver_name = talloc_strdup(mem_ctx, driver->driver_name);
W_ERROR_HAVE_NO_MEMORY(r->driver_name);
@@ -5065,7 +5064,7 @@ static WERROR construct_printer_driver_info_level(TALLOC_CTX *mem_ctx,
switch (level) {
case 1:
- result = fill_printer_driver_info1(mem_ctx, &r->info1, driver, servername, architecture);
+ result = fill_printer_driver_info1(mem_ctx, &r->info1, driver, servername);
break;
case 2:
result = fill_printer_driver_info2(mem_ctx, &r->info2, driver, servername);
@@ -6392,8 +6391,7 @@ static WERROR enumprinterdrivers_level_by_architecture(TALLOC_CTX *mem_ctx,
switch (level) {
case 1:
result = fill_printer_driver_info1(info, &info[count+i].info1,
- driver, servername,
- architecture);
+ driver, servername);
break;
case 2:
result = fill_printer_driver_info2(info, &info[count+i].info2,