diff options
Diffstat (limited to 'plugins/python_wrapper/python_wrapper_remmina.c')
-rw-r--r-- | plugins/python_wrapper/python_wrapper_remmina.c | 4 |
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; |