summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-13 12:11:26 +0200
committerVolker Lendecke <vl@samba.org>2010-06-13 12:40:27 +0200
commit3f7e2222f47d5960cece48dd751470bcc0983d93 (patch)
treeca449c0608ae34500e1613697d0788258351d5ce /source3/rpc_server
parent1b13755698464581fb1b4a3083f5930d7b408ea4 (diff)
downloadsamba-3f7e2222f47d5960cece48dd751470bcc0983d93.tar.gz
samba-3f7e2222f47d5960cece48dd751470bcc0983d93.tar.bz2
samba-3f7e2222f47d5960cece48dd751470bcc0983d93.zip
s3: Remove the pointless PRINTERNAME macro
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 8ebc7fa64f..e03bb348ea 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -5363,7 +5363,7 @@ static WERROR update_printer_sec(struct policy_handle *handle,
the_acl = old_secdesc_ctr->sd->dacl;
DEBUG(10, ("old_secdesc_ctr for %s has %d aces:\n",
- PRINTERNAME(snum), the_acl->num_aces));
+ lp_printername(snum), the_acl->num_aces));
for (i = 0; i < the_acl->num_aces; i++) {
DEBUG(10, ("%s 0x%08x\n", sid_string_dbg(
@@ -5375,7 +5375,7 @@ static WERROR update_printer_sec(struct policy_handle *handle,
if (the_acl) {
DEBUG(10, ("secdesc_ctr for %s has %d aces:\n",
- PRINTERNAME(snum), the_acl->num_aces));
+ lp_printername(snum), the_acl->num_aces));
for (i = 0; i < the_acl->num_aces; i++) {
DEBUG(10, ("%s 0x%08x\n", sid_string_dbg(