summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-04-07 23:36:48 +0200
committerGünther Deschner <gd@samba.org>2010-04-07 23:53:19 +0200
commitd9138f4ccf7b5a491a922254fe3ff67c7d612703 (patch)
tree41f84f759c4b0cf927146466d5333493340fdd05 /source3
parent65c5b786ca4dcb3fda47eea24848232548caf443 (diff)
downloadsamba-d9138f4ccf7b5a491a922254fe3ff67c7d612703.tar.gz
samba-d9138f4ccf7b5a491a922254fe3ff67c7d612703.tar.bz2
samba-d9138f4ccf7b5a491a922254fe3ff67c7d612703.zip
s3-spoolss: Fix an issue in _spoolss_DeleteForm.
Found by torture test. Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/printing/nt_printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 5096ca0599..3791c0dfc7 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -918,7 +918,7 @@ bool delete_a_form(nt_forms_struct **list, const char *del_name, int *count, WER
if (n == *count) {
DEBUG(10,("delete_a_form, [%s] not found\n", del_name));
- *ret = WERR_INVALID_PARAM;
+ *ret = WERR_INVALID_FORM_NAME;
return False;
}