summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-10-06 18:13:52 +0000
committerJeremy Allison <jra@samba.org>2000-10-06 18:13:52 +0000
commitba00796e6dd13b87b7988a98e532676d9eab702c (patch)
tree6b53b1fae2ca229ab654bbff46b2e4dd7c4e489f /source3/rpc_server/srv_spoolss_nt.c
parent08657e539e4cd4105057a9c12db30dbe4bbfcb1d (diff)
downloadsamba-ba00796e6dd13b87b7988a98e532676d9eab702c.tar.gz
samba-ba00796e6dd13b87b7988a98e532676d9eab702c.tar.bz2
samba-ba00796e6dd13b87b7988a98e532676d9eab702c.zip
Herb's warning fixes. Also the POSIX locking fix.
We now use our own vfs layer to do get/set acl calls (hurrah!). Jeremy. (This used to be commit dfe77c7046cbd65ee52aea7439f21503c1eac41d)
Diffstat (limited to 'source3/rpc_server/srv_spoolss_nt.c')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index c32ca8d871..5a724d6ab6 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -358,16 +358,14 @@ static BOOL set_printer_hnd_printertype(Printer_entry *Printer, char *handlename
if (!strchr(handlename+2, '\\')) {
DEBUGADD(4,("Printer is a print server\n"));
Printer->printer_type = PRINTER_HANDLE_IS_PRINTSERVER;
- return True;
}
/* it's a printer */
else {
DEBUGADD(4,("Printer is a printer\n"));
Printer->printer_type = PRINTER_HANDLE_IS_PRINTER;
- return True;
}
- return False;
+ return True;
}
/****************************************************************************