diff options
author | Günther Deschner <gd@samba.org> | 2009-12-07 16:18:55 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-12-08 11:50:54 +0100 |
commit | 0efbd932b63af0232547571b249fa54de5e1bce2 (patch) | |
tree | de393e26242c18b8b6469595ce6e848e1e7d7d27 | |
parent | af08962c94b8f91c8a509881dece5720e914bc45 (diff) | |
download | samba-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.c | 8 |
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, |