From 43c375515f281f94ceabf678f80ef90884fe4f00 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Tue, 14 Nov 2023 13:07:01 +1300 Subject: [PATCH] pymessaging: Remove trailing whitespace Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- source4/lib/messaging/pymessaging.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source4/lib/messaging/pymessaging.c b/source4/lib/messaging/pymessaging.c index b88727c6bd2..6b343065dec 100644 --- a/source4/lib/messaging/pymessaging.c +++ b/source4/lib/messaging/pymessaging.c @@ -1,20 +1,20 @@ -/* +/* Unix SMB/CIFS implementation. Copyright © Jelmer Vernooij 2008 Based on the equivalent for EJS: Copyright © Andrew Tridgell 2005 - + 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 . */ @@ -239,8 +239,8 @@ static PyObject *py_imessaging_register(PyObject *self, PyObject *args, PyObject PyObject *callback_and_context; NTSTATUS status; const char *kwnames[] = { "callback_and_context", "msg_type", NULL }; - - if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|i:register", + + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O|i:register", discard_const_p(char *, kwnames), &callback_and_context, &msg_type)) { return NULL; -- 2.47.3