From: Ralph Boehme Date: Tue, 17 Dec 2019 13:16:52 +0000 (+0100) Subject: pysmbd: reformat py_smbd_have_posix_acls() kwnames and PyArg_ParseTupleAndKeywords... X-Git-Tag: ldb-2.1.0~172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59a6c9a4ce01ce1762be6cf0191db4df211d3b06;p=thirdparty%2Fsamba.git pysmbd: reformat py_smbd_have_posix_acls() kwnames and PyArg_ParseTupleAndKeywords() call No change in behaviour. Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- diff --git a/source3/smbd/pysmbd.c b/source3/smbd/pysmbd.c index d3e8a21b35b..1179b5db0ed 100644 --- a/source3/smbd/pysmbd.c +++ b/source3/smbd/pysmbd.c @@ -627,8 +627,13 @@ static PyObject *py_smbd_have_posix_acls(PyObject *self, static PyObject *py_smbd_set_nt_acl(PyObject *self, PyObject *args, PyObject *kwargs) { const char * const kwnames[] = { - "fname", "security_info_sent", "sd", - "service", "session_info", NULL }; + "fname", + "security_info_sent", + "sd", + "service", + "session_info", + NULL + }; NTSTATUS status; char *fname, *service = NULL; @@ -644,8 +649,11 @@ static PyObject *py_smbd_set_nt_acl(PyObject *self, PyObject *args, PyObject *kw if (!PyArg_ParseTupleAndKeywords(args, kwargs, "siO|zO", discard_const_p(char *, kwnames), - &fname, &security_info_sent, &py_sd, - &service, &py_session)) { + &fname, + &security_info_sent, + &py_sd, + &service, + &py_session)) { TALLOC_FREE(frame); return NULL; }