Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbhatman1441 <blackhat1441@protonmail.com>2023-09-05 18:17:08 +0300
committerbhatman1441 <blackhat1441@protonmail.com>2023-09-05 18:17:08 +0300
commit3abb2c6aa862e05cd44c9180fc3807680cd072c0 (patch)
treecb5472c1a6b4030bfe4089efd8b71ba84e989d92 /plugins
parente57697b5fe556505eb05169a9b61938a9afa7c7d (diff)
Remove unnecessary parameters from remmina_public_get_server_port_wrapper
Diffstat (limited to 'plugins')
-rw-r--r--plugins/python_wrapper/python_wrapper_remmina.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/python_wrapper/python_wrapper_remmina.c b/plugins/python_wrapper/python_wrapper_remmina.c
index c61ab09b5..8cdee41a9 100644
--- a/plugins/python_wrapper/python_wrapper_remmina.c
+++ b/plugins/python_wrapper/python_wrapper_remmina.c
@@ -1024,11 +1024,11 @@ static PyObject* remmina_public_get_server_port_wrapper(PyObject* self, PyObject
{
TRACE_CALL(__func__);
- static char* kwlist[] = { "server", "defaultport", "host", "port", NULL };
+ static char* kwlist[] = { "server", "defaultport", NULL };
gchar* server;
gint defaultport;
- if (PyArg_ParseTupleAndKeywords(args, kwargs, "slsl", kwlist, &server, &defaultport) && server)
+ if (PyArg_ParseTupleAndKeywords(args, kwargs, "sl", kwlist, &server, &defaultport) && server)
{
gchar* host;
gint port;