Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
if (!security_descriptor) {
PyErr_Format(PyExc_TypeError,
"Expected dcerpc.security.descriptor for security_descriptor argument got %s",
- talloc_get_name(pytalloc_get_ptr(py_sec_desc)));
+ pytalloc_get_name(py_sec_desc));
return NULL;
}
if (!security_token) {
PyErr_Format(PyExc_TypeError,
"Expected dcerpc.security.token for token argument, got %s",
- talloc_get_name(pytalloc_get_ptr(py_security_token)));
+ pytalloc_get_name(py_sec_desc));
return NULL;
}