From 1369f43fd5cf06e983f6399971d64284d39c9ddd Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 16 Jun 2019 01:16:01 +0200 Subject: service: Fix typo SERIVCE_E_NOT_ENOUGH_DATA to SERVICE_E_NOT_ENOUGH_DATA --- include/libimobiledevice/service.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/libimobiledevice/service.h b/include/libimobiledevice/service.h index 5c43e29..facf03b 100644 --- a/include/libimobiledevice/service.h +++ b/include/libimobiledevice/service.h @@ -37,7 +37,7 @@ typedef enum { SERVICE_E_MUX_ERROR = -3, SERVICE_E_SSL_ERROR = -4, SERVICE_E_START_SERVICE_ERROR = -5, - SERIVCE_E_NOT_ENOUGH_DATA = -6, + SERVICE_E_NOT_ENOUGH_DATA = -6, SERVICE_E_TIMEOUT = -7, SERVICE_E_UNKNOWN_ERROR = -256 } service_error_t; @@ -134,7 +134,7 @@ service_error_t service_receive_with_timeout(service_client_t client, char *data * * @return SERVICE_E_SUCCESS on success, * SERVICE_E_INVALID_ARG when one or more parameters are - * invalid, SERIVCE_E_NOT_ENOUGH_DATA when not enough data + * invalid, SERVICE_E_NOT_ENOUGH_DATA when not enough data * received, SERVICE_E_TIMEOUT when the connection times out, * SERVICE_E_MUX_ERROR when a communication error * occurs, or SERVICE_E_UNKNOWN_ERROR when an unspecified @@ -150,7 +150,7 @@ service_error_t service_receive(service_client_t client, char *data, uint32_t si * * @return SERVICE_E_SUCCESS on success, * SERVICE_E_INVALID_ARG if client or client->connection is - * NULL, SERIVCE_E_NOT_ENOUGH_DATA when not enough data + * NULL, SERVICE_E_NOT_ENOUGH_DATA when not enough data * received, SERVICE_E_TIMEOUT when the connection times out, * SERVICE_E_SSL_ERROR when SSL could not be enabled, * or SERVICE_E_UNKNOWN_ERROR otherwise. -- cgit v1.1-32-gdbae