From 0ab1705cbc177f8d31285222ba64618f2c1314ae Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 13 Feb 2003 06:51:51 +0000 Subject: Merge JohnR's patch. Removed extra copy of server name in the printername field (it was mangling the the name to be \\server\\\server\printer ... yes, there were 3 backslashes) reported by get & enum jobs level 2. Jeremy. (This used to be commit 2d63f3a13d2cea794eb413023b83c4a1071eaea0) --- source3/rpc_server/srv_spoolss_nt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index e316fc9acb..6a8333eeea 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -6137,9 +6137,7 @@ static BOOL fill_job_info_2(JOB_INFO_2 *job_info, print_queue_struct *queue, job_info->jobid=queue->job; - slprintf(chaine, sizeof(chaine)-1, "\\\\%s\\%s", get_called_name(), ntprinter->info_2->printername); - - init_unistr(&job_info->printername, chaine); + init_unistr(&job_info->printername, ntprinter->info_2->printername); init_unistr(&job_info->machinename, temp_name); init_unistr(&job_info->username, queue->fs_user); -- cgit