diff options
author | bhatman1441 <blackhat1441@protonmail.com> | 2023-09-06 15:20:16 +0300 |
---|---|---|
committer | bhatman1441 <blackhat1441@protonmail.com> | 2023-09-06 15:20:16 +0300 |
commit | a38a470f0e95385a644697ded4ff99e34b851f45 (patch) | |
tree | 60d46596a25a00a335ab6f6cdd1fbc98033a6baa /plugins | |
parent | 2ed0d6165f1e633bf8a2bc195d2db1591812712f (diff) | |
parent | 3abb2c6aa862e05cd44c9180fc3807680cd072c0 (diff) |
Merge branch 'fix-port-wrapper-function' into 'master'
Remove unnecessary parameters from remmina_public_get_server_port_wrapper
See merge request Remmina/Remmina!2530
Diffstat (limited to 'plugins')
-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; |