summaryrefslogtreecommitdiffstats
path: root/source3/printing/nt_printing.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-08 19:24:39 +0100
committerGünther Deschner <gd@samba.org>2009-02-09 10:42:46 +0100
commit894d05bc41c683a47590cd237194e2b3b7ec0e67 (patch)
tree21da7625297f086c93dbd74cded6b5494b78421e /source3/printing/nt_printing.c
parentc0e3b195c86edc7fc9a862006e258e517465b7fd (diff)
downloadsamba-894d05bc41c683a47590cd237194e2b3b7ec0e67.tar.gz
samba-894d05bc41c683a47590cd237194e2b3b7ec0e67.tar.xz
samba-894d05bc41c683a47590cd237194e2b3b7ec0e67.zip
s3-spoolss: restore delete_a_form().
Guenther
Diffstat (limited to 'source3/printing/nt_printing.c')
-rw-r--r--source3/printing/nt_printing.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 97e7180cd9..0ed32d981b 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -940,7 +940,7 @@ bool add_a_form(nt_forms_struct **list, struct spoolss_AddFormInfo1 *form, int *
Delete a named form struct.
****************************************************************************/
-bool delete_a_form_by_string(nt_forms_struct **list, const char *del_name, int *count, WERROR *ret)
+bool delete_a_form(nt_forms_struct **list, const char *del_name, int *count, WERROR *ret)
{
char *key = NULL;
int n=0;
@@ -973,15 +973,6 @@ bool delete_a_form_by_string(nt_forms_struct **list, const char *del_name, int *
return true;
}
-bool delete_a_form(nt_forms_struct **list, UNISTR2 *del_name, int *count, WERROR *ret)
-{
- fstring form_name;
-
- unistr2_to_ascii(form_name, del_name, sizeof(form_name));
-
- return delete_a_form_by_string(list, form_name, count, ret);
-}
-
/****************************************************************************
Update a form struct.
****************************************************************************/