From 0d0564a2c07d96f4f13ffc164f00151f27c2e6aa Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Tue, 15 Sep 2020 12:15:39 -0300 Subject: [PATCH] Updating to the latest level of lib3270. --- client/src/session/local/actions.cc | 2 +- server/src/core/methods/action.c | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/client/src/session/local/actions.cc b/client/src/session/local/actions.cc index 0414c12..1dfe40f 100644 --- a/client/src/session/local/actions.cc +++ b/client/src/session/local/actions.cc @@ -74,7 +74,7 @@ void Local::Session::action(const char *action_name) { std::lock_guard lock(sync); - chkResponse(lib3270_action_activate_by_name(action_name,hSession)); + chkResponse(lib3270_activate_by_name(hSession,action_name)); if(this->timeout) chkResponse(lib3270_wait_for_ready(hSession,this->timeout)); } diff --git a/server/src/core/methods/action.c b/server/src/core/methods/action.c index f6d385b..a340af1 100644 --- a/server/src/core/methods/action.c +++ b/server/src/core/methods/action.c @@ -39,7 +39,13 @@ int ipc3270_method_action(GObject *session, GVariant *request, GObject *response GVariant *value = g_variant_get_child_value(request,0); - ipc3270_response_append_int32(response, lib3270_action_activate_by_name(g_variant_get_string(value,NULL), ipc3270_get_session(session))); + ipc3270_response_append_int32( + response, + lib3270_activate_by_name( + ipc3270_get_session(session), + g_variant_get_string(value,NULL) + ) + ); g_variant_unref(value); -- libgit2 0.21.2