summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-07-10 22:30:13 +0000
committerJeremy Allison <jra@samba.org>2000-07-10 22:30:13 +0000
commit445e92eb01949335feed9fa5716209976d8021f1 (patch)
tree8668d07cae66218e857b9bd24a1586c1dc373df6 /source3
parentb53484427db52933b7676d0f14c27970036249c6 (diff)
downloadsamba-445e92eb01949335feed9fa5716209976d8021f1.tar.gz
samba-445e92eb01949335feed9fa5716209976d8021f1.tar.bz2
samba-445e92eb01949335feed9fa5716209976d8021f1.zip
Ensure correct driver paths are returned in INFO_2 struct.
Jeremy. (This used to be commit 7a95c289cd0b4615d2a5aa8a148c767b57460ffa)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c12
1 files changed, 6 insertions, 6 deletions
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 );
}
/********************************************************************