From e53f2e48364fed737ea44f7e339e47fca4ab4ef9 Mon Sep 17 00:00:00 2001 From: Marco Nelissen Date: Sun, 3 Nov 2024 10:07:28 -0800 Subject: [PATCH] Fix typos --- src/mtp.c | 2 +- src/mtp_operations/mtp_ops_helpers.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mtp.c b/src/mtp.c index ef1049c..3286b5e 100644 --- a/src/mtp.c +++ b/src/mtp.c @@ -422,7 +422,7 @@ int check_and_send_USB_ZLP(mtp_ctx * ctx , int size) // USB ZLP needed ? if( (size >= ctx->max_packet_size) && !(size % ctx->max_packet_size) ) { - PRINT_DEBUG("%d bytes transfert ended - ZLP packet needed", size); + PRINT_DEBUG("%d bytes transfer ended - ZLP packet needed", size); // Yes - Send zero lenght packet. write_usb(ctx->usb_ctx,EP_DESCRIPTOR_IN,ctx->wrbuffer,0); diff --git a/src/mtp_operations/mtp_ops_helpers.c b/src/mtp_operations/mtp_ops_helpers.c index a9c68db..816e098 100644 --- a/src/mtp_operations/mtp_ops_helpers.c +++ b/src/mtp_operations/mtp_ops_helpers.c @@ -164,7 +164,7 @@ mtp_size send_file_data( mtp_ctx * ctx, fs_entry * entry,mtp_offset offset, mtp_ if( ctx->cancel_req ) { - PRINT_DEBUG("send_file_data : Cancelled ! Aborded..."); + PRINT_DEBUG("send_file_data : Cancelled ! Aborted..."); // Force a ZLP check_and_send_USB_ZLP(ctx , ctx->max_packet_size ); @@ -174,7 +174,7 @@ mtp_size send_file_data( mtp_ctx * ctx, fs_entry * entry,mtp_offset offset, mtp_ } else { - PRINT_DEBUG("send_file_data : Full transfert done !"); + PRINT_DEBUG("send_file_data : Full transfer done !"); check_and_send_USB_ZLP(ctx , sizeof(MTP_PACKET_HEADER) + actualsize ); }