summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-27 19:05:08 -0800
committerJeremy Allison <jra@samba.org>2007-11-27 19:05:08 -0800
commit0bc4ff7b287e2cd6f7b225861d6c3fda9347adfc (patch)
treefb5776c0ed5c39b8c62f446645ee1479b7cab63d /source3/registry
parent93bfb6ca542e1e99ae7ae93fca94a0e33d99bca5 (diff)
downloadsamba-0bc4ff7b287e2cd6f7b225861d6c3fda9347adfc.tar.gz
samba-0bc4ff7b287e2cd6f7b225861d6c3fda9347adfc.tar.bz2
samba-0bc4ff7b287e2cd6f7b225861d6c3fda9347adfc.zip
Remove pstring from srv_spoolss_nt.c. All gone from rpc_server/*.c
Jeremy. (This used to be commit b5a2a1e3f82a0d319fc9a1d76f5166150680f4d4)
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_printing.c b/source3/registry/reg_printing.c
index 8c1de763bd..2ca74f7c16 100644
--- a/source3/registry/reg_printing.c
+++ b/source3/registry/reg_printing.c
@@ -296,7 +296,7 @@ static bool add_printers_by_registry( REGSUBKEY_CTR *subkeys )
if ( snum == -1 ) {
fstrcpy( info2.printername, printername );
fstrcpy( info2.sharename, printername );
- if ( !add_printer_hook( NULL, &printer ) ) {
+ if ( !add_printer_hook(talloc_tos(), NULL, &printer ) ) {
DEBUG(0,("add_printers_by_registry: Failed to add printer [%s]\n",
printername));
}