From 3f7e2222f47d5960cece48dd751470bcc0983d93 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 13 Jun 2010 12:11:26 +0200 Subject: s3: Remove the pointless PRINTERNAME macro --- source3/printing/nt_printing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/printing/nt_printing.c') diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 78f43756c2..c87cfc1fe3 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -5607,7 +5607,7 @@ bool print_access_check(struct auth_serversupplied_info *server_info, int snum, /* Get printer name */ - pname = PRINTERNAME(snum); + pname = lp_printername(snum); if (!pname || !*pname) { errno = EACCES; -- cgit