Commit 0d0564a2c07d96f4f13ffc164f00151f27c2e6aa
1 parent
3f343618
Exists in
master
and in
1 other branch
Updating to the latest level of lib3270.
Showing
2 changed files
with
8 additions
and
2 deletions
Show diff stats
client/src/session/local/actions.cc
@@ -74,7 +74,7 @@ | @@ -74,7 +74,7 @@ | ||
74 | 74 | ||
75 | void Local::Session::action(const char *action_name) { | 75 | void Local::Session::action(const char *action_name) { |
76 | std::lock_guard<std::recursive_mutex> lock(sync); | 76 | std::lock_guard<std::recursive_mutex> lock(sync); |
77 | - chkResponse(lib3270_action_activate_by_name(action_name,hSession)); | 77 | + chkResponse(lib3270_activate_by_name(hSession,action_name)); |
78 | if(this->timeout) | 78 | if(this->timeout) |
79 | chkResponse(lib3270_wait_for_ready(hSession,this->timeout)); | 79 | chkResponse(lib3270_wait_for_ready(hSession,this->timeout)); |
80 | } | 80 | } |
server/src/core/methods/action.c
@@ -39,7 +39,13 @@ int ipc3270_method_action(GObject *session, GVariant *request, GObject *response | @@ -39,7 +39,13 @@ int ipc3270_method_action(GObject *session, GVariant *request, GObject *response | ||
39 | 39 | ||
40 | GVariant *value = g_variant_get_child_value(request,0); | 40 | GVariant *value = g_variant_get_child_value(request,0); |
41 | 41 | ||
42 | - ipc3270_response_append_int32(response, lib3270_action_activate_by_name(g_variant_get_string(value,NULL), ipc3270_get_session(session))); | 42 | + ipc3270_response_append_int32( |
43 | + response, | ||
44 | + lib3270_activate_by_name( | ||
45 | + ipc3270_get_session(session), | ||
46 | + g_variant_get_string(value,NULL) | ||
47 | + ) | ||
48 | + ); | ||
43 | 49 | ||
44 | g_variant_unref(value); | 50 | g_variant_unref(value); |
45 | 51 |