From: Jennifer Sutton Date: Tue, 6 Aug 2024 01:53:13 +0000 (+1200) Subject: s4:dsdb: Remove trailing whitespace X-Git-Tag: tevent-0.17.0~112 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12cfa75da9335439cea42fe28adb7063d0262e59;p=thirdparty%2Fsamba.git s4:dsdb: Remove trailing whitespace Signed-off-by: Jennifer Sutton Reviewed-by: Douglas Bagnall --- diff --git a/source4/dsdb/pydsdb.c b/source4/dsdb/pydsdb.c index cae423900cc..5c943c8893b 100644 --- a/source4/dsdb/pydsdb.c +++ b/source4/dsdb/pydsdb.c @@ -1,18 +1,18 @@ -/* +/* Unix SMB/CIFS implementation. Copyright (C) Jelmer Vernooij 2007-2010 Copyright (C) Matthias Dieter Wallnöfer 2009 - + 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 . */ @@ -98,7 +98,7 @@ static PyObject *py_dsdb_convert_schema_to_openldap(PyObject *self, PyErr_SetString(PyExc_RuntimeError, "dsdb_convert_schema_to_openldap failed"); return NULL; - } + } ret = PyUnicode_FromString(retstr); talloc_free(retstr); @@ -135,12 +135,12 @@ static PyObject *py_samdb_set_domain_sid(PyLdbObject *self, PyObject *args) if (!ret) { PyErr_SetString(PyExc_RuntimeError, "set_domain_sid failed"); return NULL; - } + } Py_RETURN_NONE; } static PyObject *py_samdb_set_ntds_settings_dn(PyLdbObject *self, PyObject *args) -{ +{ PyObject *py_ldb, *py_ntds_settings_dn; struct ldb_context *ldb; struct ldb_dn *ntds_settings_dn; @@ -169,12 +169,12 @@ static PyObject *py_samdb_set_ntds_settings_dn(PyLdbObject *self, PyObject *args if (!ret) { PyErr_SetString(PyExc_RuntimeError, "set_ntds_settings_dn failed"); return NULL; - } + } Py_RETURN_NONE; } static PyObject *py_samdb_get_domain_sid(PyLdbObject *self, PyObject *args) -{ +{ PyObject *py_ldb; struct ldb_context *ldb; const struct dom_sid *sid; @@ -254,7 +254,7 @@ static PyObject *py_dsdb_get_oid_from_attid(PyObject *self, PyObject *args) talloc_free(mem_ctx); return NULL; } - + status = dsdb_schema_pfm_oid_from_attid(schema->prefixmap, attid, mem_ctx, &oid); if (!W_ERROR_IS_OK(status)) {