mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
werror: replace WERR_GENERAL_FAILURE with WERR_GEN_FAILURE in source4/lib/com/
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
89cc81ab0e
commit
78d9a1eed9
@ -329,7 +329,7 @@ WERROR dcom_create_object(struct com_context *ctx, struct GUID *clsid, const cha
|
||||
if (!m->rem_unknown) {
|
||||
if (!ru_template) {
|
||||
DEBUG(1,("dcom_create_object: Cannot Create IRemUnknown - template interface not available\n"));
|
||||
hr = WERR_GENERAL_FAILURE;
|
||||
hr = WERR_GEN_FAILURE;
|
||||
}
|
||||
m->rem_unknown = talloc_zero(m, struct IRemUnknown);
|
||||
memcpy(m->rem_unknown, ru_template, sizeof(struct IUnknown));
|
||||
|
@ -60,7 +60,7 @@ WERROR com_create_object(struct com_context *ctx, struct GUID *clsid, int num_if
|
||||
|
||||
if (!iunk) {
|
||||
DEBUG(0, ("IClassFactory_CreateInstance returned success but result pointer is still NULL!\n"));
|
||||
return WERR_GENERAL_FAILURE;
|
||||
return WERR_GEN_FAILURE;
|
||||
}
|
||||
|
||||
/* Release class object */
|
||||
|
Loading…
Reference in New Issue
Block a user