diff options
author | Dylan Aïssi <bob.dybian@gmail.com> | 2019-03-24 16:47:35 +0100 |
---|---|---|
committer | Dylan Aïssi <bob.dybian@gmail.com> | 2019-03-24 16:47:35 +0100 |
commit | df49f053dd66c87c71b6b46d42552d7a1af60820 (patch) | |
tree | 8eb2f1f062f7ea82cac4488b07ca19c4b94eea0a | |
parent | c4eb383692467a02a33308a1c7b5e69d8a6e2cc0 (diff) | |
download | libmtp-df49f053dd66c87c71b6b46d42552d7a1af60820.tar.gz |
typo: successfull -> successful
-rw-r--r-- | src/libopenusb1-glue.c | 2 | ||||
-rw-r--r-- | src/libusb-glue.c | 2 | ||||
-rw-r--r-- | src/libusb1-glue.c | 2 | ||||
-rw-r--r-- | src/ptp.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/libopenusb1-glue.c b/src/libopenusb1-glue.c index 76e8086..294c427 100644 --- a/src/libopenusb1-glue.c +++ b/src/libopenusb1-glue.c @@ -125,7 +125,7 @@ static openusb_handle_t libmtp_openusb_handle; * successful. * @param numdevs a pointer to an integer that will hold the number * of devices in the device list if the call was successful. - * @return 0 if the list was successfull retrieved, any other + * @return 0 if the list was successful retrieved, any other * value means failure. */ int LIBMTP_Get_Supported_Devices_List(LIBMTP_device_entry_t * * const devices, int * const numdevs) { diff --git a/src/libusb-glue.c b/src/libusb-glue.c index 988f3fd..5e84b1d 100644 --- a/src/libusb-glue.c +++ b/src/libusb-glue.c @@ -130,7 +130,7 @@ static int usb_get_endpoint_status(PTP_USB* ptp_usb, int ep, uint16_t* status); * successful. * @param numdevs a pointer to an integer that will hold the number * of devices in the device list if the call was successful. - * @return 0 if the list was successfull retrieved, any other + * @return 0 if the list was successful retrieved, any other * value means failure. */ int LIBMTP_Get_Supported_Devices_List(LIBMTP_device_entry_t ** const devices, int * const numdevs) diff --git a/src/libusb1-glue.c b/src/libusb1-glue.c index c247d73..67ba277 100644 --- a/src/libusb1-glue.c +++ b/src/libusb1-glue.c @@ -130,7 +130,7 @@ static int usb_get_endpoint_status(PTP_USB* ptp_usb, * successful. * @param numdevs a pointer to an integer that will hold the number * of devices in the device list if the call was successful. - * @return 0 if the list was successfull retrieved, any other + * @return 0 if the list was successful retrieved, any other * value means failure. */ int LIBMTP_Get_Supported_Devices_List(LIBMTP_device_entry_t ** const devices, @@ -2461,7 +2461,7 @@ ptp_canon_checkevent (PTPParams* params, PTPContainer* event, int* isevent) PTP_CNT_INIT(ptp, PTP_OC_CANON_CheckEvent); *isevent=0; CHECK_PTP_RC(ptp_transaction(params, &ptp, PTP_DP_GETDATA, 0, &data, &size)); - if (data && size) { /* check if we had a successfull call with data */ + if (data && size) { /* check if we had a successful call with data */ ptp_unpack_EC(params, data, event, size); *isevent=1; free(data); |