Commit 1b69ecf8f867ec10c20d85f731f19a747c5b63fb
1 parent
47fcf963
Exists in
master
and in
1 other branch
Updating IPC module API calls.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
server/src/core/methods.c
| @@ -109,7 +109,7 @@ GVariant * ipc3270_method_call(GObject *object, const gchar *method_name, GVaria | @@ -109,7 +109,7 @@ GVariant * ipc3270_method_call(GObject *object, const gchar *method_name, GVaria | ||
| 109 | g_variant_get(parameters, "(i&s)", &addr, &text); | 109 | g_variant_get(parameters, "(i&s)", &addr, &text); |
| 110 | 110 | ||
| 111 | g_autofree gchar * converted = ipc3270_convert_output_string(object, text, error); | 111 | g_autofree gchar * converted = ipc3270_convert_output_string(object, text, error); |
| 112 | - if(lib3270_set_string_at_address(hSession,addr,(unsigned char *) converted) < 0) | 112 | + if(lib3270_set_string_at_address(hSession,addr,(unsigned char *) converted, -1) < 0) |
| 113 | { | 113 | { |
| 114 | // Failed! | 114 | // Failed! |
| 115 | ipc3270_set_error(object,errno,error); | 115 | ipc3270_set_error(object,errno,error); |