git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db1c5d7
)
werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source3/libads/ldap_printer.c
author
Günther Deschner
<gd@samba.org>
Thu, 3 Dec 2015 14:24:14 +0000
(15:24 +0100)
committer
Jeremy Allison
<jra@samba.org>
Tue, 27 Sep 2016 22:04:18 +0000
(
00:04
+0200)
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libads/ldap_printer.c
patch
|
blob
|
history
diff --git
a/source3/libads/ldap_printer.c
b/source3/libads/ldap_printer.c
index 82c131104b9ebd9632abf4a401f0d9fa68a1a686..e610893ac4e469acf111aec9984bfbd9c8595c35 100644
(file)
--- a/
source3/libads/ldap_printer.c
+++ b/
source3/libads/ldap_printer.c
@@
-298,7
+298,7
@@
WERROR get_remote_printer_publishing_data(struct rpc_pipe_client *cli,
if ((asprintf(&printername, "%s\\%s", cli->srv_name_slash, printer) == -1)) {
DEBUG(3, ("Insufficient memory\n"));
- return WERR_NO
MEM
;
+ return WERR_NO
T_ENOUGH_MEMORY
;
}
result = rpccli_spoolss_openprinter_ex(cli, mem_ctx,