summaryrefslogtreecommitdiff
path: root/source4/libcli/util
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-08-06 10:39:19 +0200
committerStefan Metzmacher <metze@samba.org>2012-08-06 15:50:16 +0200
commita370792cbc7285da90ef261d03efe781075ff71b (patch)
treecd1cd560a4ba8c798ea041ec0a93ab79c71312c6 /source4/libcli/util
parent4e0fb8b4b1b7eadf315aeb599a079eb1d22a4d22 (diff)
downloadsamba-a370792cbc7285da90ef261d03efe781075ff71b.tar.gz
samba-a370792cbc7285da90ef261d03efe781075ff71b.tar.bz2
samba-a370792cbc7285da90ef261d03efe781075ff71b.zip
s4:libcli/pyerrors: s/PyErr_WERROR_IS_ERR_RAISE/PyErr_WERROR_NOT_OK_RAISE/
metze
Diffstat (limited to 'source4/libcli/util')
-rw-r--r--source4/libcli/util/pyerrors.h2
1 files changed, 1 insertions, 1 deletions
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; \