From af1f6e9fd165223505c7c5ec59d94bbc3a41dc55 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Tue, 17 Dec 2019 14:54:04 +0100 Subject: [PATCH] pysmbd: reformat py_smbd_set_sys_acl() kwnames and PyArg_ParseTupleAndKeywords() call No change in behaviour. Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- source3/smbd/pysmbd.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/source3/smbd/pysmbd.c b/source3/smbd/pysmbd.c index d030ce30ddd..f0bb2e71cda 100644 --- a/source3/smbd/pysmbd.c +++ b/source3/smbd/pysmbd.c @@ -771,7 +771,13 @@ static PyObject *py_smbd_get_nt_acl(PyObject *self, PyObject *args, PyObject *kw */ static PyObject *py_smbd_set_sys_acl(PyObject *self, PyObject *args, PyObject *kwargs) { - const char * const kwnames[] = { "fname", "acl_type", "acl", "service", NULL }; + const char * const kwnames[] = { + "fname", + "acl_type", + "acl", + "service", + NULL + }; TALLOC_CTX *frame = talloc_stackframe(); int ret; char *fname, *service = NULL; @@ -782,7 +788,10 @@ static PyObject *py_smbd_set_sys_acl(PyObject *self, PyObject *args, PyObject *k if (!PyArg_ParseTupleAndKeywords(args, kwargs, "siO|z", discard_const_p(char *, kwnames), - &fname, &acl_type, &py_acl, &service)) { + &fname, + &acl_type, + &py_acl, + &service)) { TALLOC_FREE(frame); return NULL; }