summaryrefslogtreecommitdiffstats
path: root/source/printing
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-06-17 15:35:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:57:19 -0500
commite188fdbef8f0ad202b0ecf3c30be2941ebe6d5b1 (patch)
treeff5b00854a9b375aeceb41b8144958e124b0cfd5 /source/printing
parent2f08a904eee772e7d99ae6e3e4c922f74732284f (diff)
downloadsamba-e188fdbef8f0ad202b0ecf3c30be2941ebe6d5b1.tar.gz
samba-e188fdbef8f0ad202b0ecf3c30be2941ebe6d5b1.tar.xz
samba-e188fdbef8f0ad202b0ecf3c30be2941ebe6d5b1.zip
r7691: * add .gdbinit to the svn:ignore files
* start adding write support to the Samba registry Flesh out the server implementations of RegCreateKey(), RegSetValue(), RegDeleteKey() and RegDeleteValue() I can create a new key using regedit.exe now but the 'New Key #1' key cannot be deleted yet.
Diffstat (limited to 'source/printing')
-rw-r--r--source/printing/nt_printing.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c
index 8fd28d8cfec..75473c39f20 100644
--- a/source/printing/nt_printing.c
+++ b/source/printing/nt_printing.c
@@ -2543,8 +2543,6 @@ static int add_new_printer_key( NT_PRINTER_DATA *data, const char *name )
data->num_keys++;
data->keys[key_index].name = SMB_STRDUP( name );
- ZERO_STRUCTP( &data->keys[key_index].values );
-
regval_ctr_init( &data->keys[key_index].values );
DEBUG(10,("add_new_printer_key: Inserted new data key [%s]\n", name ));