mirror of
https://github.com/samba-team/samba.git
synced 2025-03-07 00:58:40 +03:00
python: Fix bad type in conversion of NTSTATUS.
More info: https://lists.samba.org/archive/samba-technical/2017-August/122574.html Signed-off-by: Lumir Balhar <lbalhar@redhat.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
6f877285a3
commit
c81aff362f
@ -24,7 +24,7 @@
|
||||
|
||||
#define PyErr_FromHRESULT(err) Py_BuildValue("(i,s)", HRES_ERROR_V(err), discard_const_p(char, hresult_errstr_const(err)))
|
||||
|
||||
#define PyErr_FromNTSTATUS(status) Py_BuildValue("(i,s)", NT_STATUS_V(status), discard_const_p(char, get_friendly_nt_error_msg(status)))
|
||||
#define PyErr_FromNTSTATUS(status) Py_BuildValue("(I,s)", NT_STATUS_V(status), discard_const_p(char, get_friendly_nt_error_msg(status)))
|
||||
|
||||
#define PyErr_FromString(str) Py_BuildValue("(s)", discard_const_p(char, str))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user