From 445e92eb01949335feed9fa5716209976d8021f1 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 10 Jul 2000 22:30:13 +0000 Subject: Ensure correct driver paths are returned in INFO_2 struct. Jeremy. (This used to be commit 7a95c289cd0b4615d2a5aa8a148c767b57460ffa) --- source3/rpc_server/srv_spoolss_nt.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source3') diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index dd3a5dd733..320ff8ff3a 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -2517,24 +2517,24 @@ static void fill_printer_driver_info_2(DRIVER_INFO_2 *info, get_short_archi(short_archi,architecture); - snprintf(where,sizeof(where)-1,"\\\\%s\\print$\\%s\\%s\\", servername, short_archi, driver.info_3->name); + snprintf(where,sizeof(where)-1,"\\\\%s\\print$\\%s\\", servername, short_archi); info->version=driver.info_3->cversion; - init_unistr( &(info->name), driver.info_3->name ); - init_unistr( &(info->architecture), architecture ); + init_unistr( &info->name, driver.info_3->name ); + init_unistr( &info->architecture, architecture ); snprintf(temp_driverpath, sizeof(temp_driverpath)-1, "%s%s", where, driver.info_3->driverpath); - init_unistr( &(info->driverpath), temp_driverpath ); + init_unistr( &info->driverpath, temp_driverpath ); snprintf(temp_datafile, sizeof(temp_datafile)-1, "%s%s", where, driver.info_3->datafile); - init_unistr( &(info->datafile), temp_datafile ); + init_unistr( &info->datafile, temp_datafile ); snprintf(temp_configfile, sizeof(temp_configfile)-1, "%s%s", where, driver.info_3->configfile); - init_unistr( &(info->configfile), temp_configfile ); + init_unistr( &info->configfile, temp_configfile ); } /******************************************************************** -- cgit