Changeset 988 for vendor/current/libcli/security/pysecurity.c
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/libcli/security/pysecurity.c
r740 r988 45 45 } 46 46 47 security_descriptor = py _talloc_get_type(py_sec_desc, struct security_descriptor);47 security_descriptor = pytalloc_get_type(py_sec_desc, struct security_descriptor); 48 48 if (!security_descriptor) { 49 49 PyErr_Format(PyExc_TypeError, 50 50 "Expected dcerpc.security.descriptor for security_descriptor argument got %s", 51 talloc_get_name(py _talloc_get_ptr(py_sec_desc)));51 talloc_get_name(pytalloc_get_ptr(py_sec_desc))); 52 52 return NULL; 53 53 } 54 54 55 security_token = py _talloc_get_type(py_security_token, struct security_token);55 security_token = pytalloc_get_type(py_security_token, struct security_token); 56 56 if (!security_token) { 57 57 PyErr_Format(PyExc_TypeError, 58 58 "Expected dcerpc.security.token for token argument, got %s", 59 talloc_get_name(py _talloc_get_ptr(py_security_token)));59 talloc_get_name(pytalloc_get_ptr(py_security_token))); 60 60 return NULL; 61 61 }
Note:
See TracChangeset
for help on using the changeset viewer.