1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

merge from 2.2

(This used to be commit 30a0e72572b25ddd99438b92b8ddf7f06e9ad819)
This commit is contained in:
Gerald Carter 2002-06-11 03:22:32 +00:00
parent de581b91e9
commit 366a649d04

View File

@ -4823,6 +4823,7 @@ static BOOL add_printer_hook(NT_PRINTER_INFO_LEVEL *printer)
get_called_name());
/* change \ to \\ for the shell */
all_string_sub(driverlocation,"\\","\\\\",sizeof(pstring));
standard_sub_basic("", remote_machine);
slprintf(command, sizeof(command)-1, "%s \"%s\" \"%s\" \"%s\" \"%s\" \"%s\" \"%s\" \"%s\"",
cmd, printer->info_2->printername, printer->info_2->sharename,