diff options
author | Jeremy Allison <jra@samba.org> | 2006-12-30 03:03:33 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2006-12-30 03:03:33 +0000 |
commit | 5b8b7e86d207fac85bba2cc980532ff336dedc01 (patch) | |
tree | 680666af17eb08d0ba4a2a9afc7b28d8da703b8f /source/printing | |
parent | 23d86c7a8e004f5908dc70eccfb8e6e342b760ab (diff) | |
download | samba-5b8b7e86d207fac85bba2cc980532ff336dedc01.tar.gz samba-5b8b7e86d207fac85bba2cc980532ff336dedc01.tar.xz samba-5b8b7e86d207fac85bba2cc980532ff336dedc01.zip |
r20413: Merge Volker's open directory changes to 3.0.24.
I think they're correct, modulo more testing of
error codes.
Jeremy.
Diffstat (limited to 'source/printing')
-rw-r--r-- | source/printing/nt_printing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c index b74763b2e5e..541a60fef14 100644 --- a/source/printing/nt_printing.c +++ b/source/printing/nt_printing.c @@ -1800,7 +1800,7 @@ WERROR move_driver_to_download_area(NT_PRINTER_DRIVER_INFO_LEVEL driver_abstract DEBUG(5,("Creating first directory\n")); slprintf(new_dir, sizeof(new_dir)-1, "%s/%d", architecture, driver->cversion); driver_unix_convert(new_dir, conn, NULL, &bad_path, &st); - mkdir_internal(conn, new_dir, bad_path); + create_directory(conn, new_dir); /* For each driver file, archi\filexxx.yyy, if there is a duplicate file * listed for this driver which has already been moved, skip it (note: |