From a370792cbc7285da90ef261d03efe781075ff71b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 6 Aug 2012 10:39:19 +0200 Subject: s4:libcli/pyerrors: s/PyErr_WERROR_IS_ERR_RAISE/PyErr_WERROR_NOT_OK_RAISE/ metze --- source4/libcli/util/pyerrors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libcli') diff --git a/source4/libcli/util/pyerrors.h b/source4/libcli/util/pyerrors.h index 4c526c6ed2..e3e7bc4aac 100644 --- a/source4/libcli/util/pyerrors.h +++ b/source4/libcli/util/pyerrors.h @@ -38,7 +38,7 @@ return NULL; \ } -#define PyErr_WERROR_IS_ERR_RAISE(status) \ +#define PyErr_WERROR_NOT_OK_RAISE(status) \ if (!W_ERROR_IS_OK(status)) { \ PyErr_SetWERROR(status); \ return NULL; \ -- cgit