From 894d05bc41c683a47590cd237194e2b3b7ec0e67 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sun, 8 Feb 2009 19:24:39 +0100 Subject: s3-spoolss: restore delete_a_form(). Guenther --- source3/printing/nt_printing.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'source3/printing') 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. ****************************************************************************/ -- cgit