1
0
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:
Günther Deschner 2015-12-03 15:24:21 +01:00 committed by Jeremy Allison
parent 89cc81ab0e
commit 78d9a1eed9
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -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 */