s4:librpc: Remove trailing whitespace
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 6 Nov 2023 23:15:37 +0000 (12:15 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 9 Nov 2023 08:00:30 +0000 (08:00 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/librpc/ndr/py_security.c

index 0daeaf7aab36d7def091503afac607b8560d9765..74f323c3f562bb5689a37038a62b88f0db4e51a7 100644 (file)
@@ -1,19 +1,19 @@
-/* 
+/*
    Unix SMB/CIFS implementation.
    Samba utility functions
 
    Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008-2010
-   
+
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
-   
+
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
-   
+
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
@@ -36,11 +36,11 @@ static void PyType_AddMethods(PyTypeObject *type, PyMethodDef *methods)
        dict = type->tp_dict;
        for (i = 0; methods[i].ml_name; i++) {
                PyObject *descr;
-               if (methods[i].ml_flags & METH_CLASS) 
+               if (methods[i].ml_flags & METH_CLASS)
                        descr = PyCFunction_New(&methods[i], (PyObject *)type);
-               else 
+               else
                        descr = PyDescr_NewMethod(type, &methods[i]);
-               PyDict_SetItemString(dict, methods[i].ml_name, 
+               PyDict_SetItemString(dict, methods[i].ml_name,
                                     descr);
                Py_CLEAR(descr);
        }
@@ -451,7 +451,7 @@ static PyObject *py_token_is_anonymous(PyObject *self,
        PyObject *Py_UNUSED(ignored))
 {
        struct security_token *token = pytalloc_get_ptr(self);
-       
+
        return PyBool_FromLong(security_token_is_anonymous(token));
 }
 
@@ -459,7 +459,7 @@ static PyObject *py_token_is_system(PyObject *self,
        PyObject *Py_UNUSED(ignored))
 {
        struct security_token *token = pytalloc_get_ptr(self);
-       
+
        return PyBool_FromLong(security_token_is_system(token));
 }
 
@@ -467,7 +467,7 @@ static PyObject *py_token_has_builtin_administrators(PyObject *self,
        PyObject *Py_UNUSED(ignored))
 {
        struct security_token *token = pytalloc_get_ptr(self);
-       
+
        return PyBool_FromLong(security_token_has_builtin_administrators(token));
 }
 
@@ -475,7 +475,7 @@ static PyObject *py_token_has_nt_authenticated_users(PyObject *self,
        PyObject *Py_UNUSED(ignored))
 {
        struct security_token *token = pytalloc_get_ptr(self);
-       
+
        return PyBool_FromLong(security_token_has_nt_authenticated_users(token));
 }