summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-02-13 06:51:51 +0000
committerJeremy Allison <jra@samba.org>2003-02-13 06:51:51 +0000
commit0ab1705cbc177f8d31285222ba64618f2c1314ae (patch)
tree3b2bcb00b527f583872b14e320dabb4b29ea4012 /source3/rpc_server
parentc8659d04a9e60c49847eb66bce973b52129d803b (diff)
downloadsamba-0ab1705cbc177f8d31285222ba64618f2c1314ae.tar.gz
samba-0ab1705cbc177f8d31285222ba64618f2c1314ae.tar.bz2
samba-0ab1705cbc177f8d31285222ba64618f2c1314ae.zip
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)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c4
1 files changed, 1 insertions, 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);