Commit f883ce697776e38c2a8f8b157a9009268d9d4191
1 parent
24bc3c60
Exists in
master
and in
5 other branches
Ajustes na transferência de arquivos
Showing
2 changed files
with
4 additions
and
2 deletions
Show diff stats
src/lib3270/ft_cut.c
| ... | ... | @@ -375,7 +375,7 @@ static void cut_control_code(H3270 *hSession) |
| 375 | 375 | |
| 376 | 376 | default: |
| 377 | 377 | trace_ds(hSession,"unknown 0x%04x\n", code); |
| 378 | - cut_abort(hSession,SC_ABORT_XMIT, "%s", _("Unknown FT control code from host")); | |
| 378 | + cut_abort(hSession,SC_ABORT_XMIT, "%s", N_("Unknown FT control code from host")); | |
| 379 | 379 | break; |
| 380 | 380 | } |
| 381 | 381 | } | ... | ... |
src/lib3270/ft_dft.c
| ... | ... | @@ -264,11 +264,13 @@ static void dft_data_insert(H3270 *hSession, struct data_buffer *data_bufr) |
| 264 | 264 | |
| 265 | 265 | /* If transfer completed ok, use our msg. */ |
| 266 | 266 | if (memcmp(msgp, END_TRANSFER, strlen(END_TRANSFER)) == 0) { |
| 267 | + trace_ds(hSession,"END_TRANSFER\n"); | |
| 268 | + ft_complete(hSession->ft,(const char *) msgp); | |
| 267 | 269 | lib3270_free(msgp); |
| 268 | - ft_complete(hSession->ft,NULL); | |
| 269 | 270 | } |
| 270 | 271 | else if (lib3270_get_ft_state(hSession) == FT_ABORT_SENT && ((H3270FT *) hSession->ft)->abort_string != CN) |
| 271 | 272 | { |
| 273 | + trace_ds(hSession,"ABORT_TRANSFER [%s]\n",msgp); | |
| 272 | 274 | lib3270_free(msgp); |
| 273 | 275 | ft_failed(ft,ft->abort_string); |
| 274 | 276 | lib3270_free(ft->abort_string); | ... | ... |