git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65c5b78
)
s3-spoolss: Fix an issue in _spoolss_DeleteForm.
author
Günther Deschner
<gd@samba.org>
Wed, 7 Apr 2010 21:36:48 +0000
(23:36 +0200)
committer
Günther Deschner
<gd@samba.org>
Wed, 7 Apr 2010 21:53:19 +0000
(23:53 +0200)
Found by torture test.
Guenther
source3/printing/nt_printing.c
patch
|
blob
|
history
diff --git
a/source3/printing/nt_printing.c
b/source3/printing/nt_printing.c
index 5096ca0599b8cbd2149567f6c83f2c8518ea0729..3791c0dfc7134471dbae4c40bbdc307bc7c3181e 100644
(file)
--- 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;
}