diff options
author | Gerald Carter <jerry@samba.org> | 2004-10-18 19:57:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:59 -0500 |
commit | 8c3fd1908d201e9891878ff4c3259ed9690dff97 (patch) | |
tree | eac74d92cfca80b4ed56626f4a7c3da49d3858d7 /source/printing | |
parent | 78e904c27b31d7123b521c446247d6ff558c84cc (diff) | |
download | samba-8c3fd1908d201e9891878ff4c3259ed9690dff97.tar.gz samba-8c3fd1908d201e9891878ff4c3259ed9690dff97.tar.xz samba-8c3fd1908d201e9891878ff4c3259ed9690dff97.zip |
r3049: fixing some calls in the printing code to stanard_sub_basic(); fix standard_sub_snum() to use the current user's gid; add some (snum == -1) checks to standard_sub_advanced()
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 8a67bfaed4d..14c0417f776 100644 --- a/source/printing/nt_printing.c +++ b/source/printing/nt_printing.c @@ -4080,7 +4080,7 @@ WERROR get_a_printer( Printer_entry *print_hnd, NT_PRINTER_INFO_LEVEL **pp_print fstrcpy( servername, print_hnd->servername ); else { fstrcpy( servername, "%L" ); - standard_sub_basic( NULL, servername, sizeof(servername)-1 ); + standard_sub_basic( "", servername, sizeof(servername)-1 ); } /* |