From f8ec7f6cb19c4cc27398bdc0482b531e601d4291 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 10 Aug 2011 15:15:18 +0200 Subject: pytalloc: Use consistent prefix for functions, add ABI file. --- libcli/security/pysecurity.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libcli/security') diff --git a/libcli/security/pysecurity.c b/libcli/security/pysecurity.c index 87134bf104..5dbf95cfac 100644 --- a/libcli/security/pysecurity.c +++ b/libcli/security/pysecurity.c @@ -44,19 +44,19 @@ static PyObject *py_se_access_check(PyObject *module, PyObject *args, PyObject * return NULL; } - security_descriptor = py_talloc_get_type(py_sec_desc, struct security_descriptor); + security_descriptor = pytalloc_get_type(py_sec_desc, struct security_descriptor); if (!security_descriptor) { PyErr_Format(PyExc_TypeError, "Expected dcerpc.security.descriptor for security_descriptor argument got %s", - talloc_get_name(py_talloc_get_ptr(py_sec_desc))); + talloc_get_name(pytalloc_get_ptr(py_sec_desc))); return NULL; } - security_token = py_talloc_get_type(py_security_token, struct security_token); + security_token = pytalloc_get_type(py_security_token, struct security_token); if (!security_token) { PyErr_Format(PyExc_TypeError, "Expected dcerpc.security.token for token argument, got %s", - talloc_get_name(py_talloc_get_ptr(py_security_token))); + talloc_get_name(pytalloc_get_ptr(py_security_token))); return NULL; } -- cgit