summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Yves-Alexis Perez2018-10-08 13:39:31 +0200
committerGravatar Nikias Bassen2019-06-23 11:14:53 +0200
commit41ce2454b7f0b4a679070ea377545ba34f70095f (patch)
tree0cc4c5b04c9e2b0e9de7672c0e61e0184614ca04 /src
parentb8df28038f3ca8a3a8be6569cea251d2506c3171 (diff)
downloadlibimobiledevice-41ce2454b7f0b4a679070ea377545ba34f70095f.tar.gz
libimobiledevice-41ce2454b7f0b4a679070ea377545ba34f70095f.tar.bz2
replace all occurrences of occured by occurred
Do it in all comments and errors messages
Diffstat (limited to 'src')
-rw-r--r--src/diagnostics_relay.c2
-rw-r--r--src/installation_proxy.c6
-rw-r--r--src/lockdown.c2
-rw-r--r--src/misagent.c2
-rw-r--r--src/notification_proxy.c4
-rw-r--r--src/restore.c2
6 files changed, 9 insertions, 9 deletions
diff --git a/src/diagnostics_relay.c b/src/diagnostics_relay.c
index 79e041e..0834700 100644
--- a/src/diagnostics_relay.c
+++ b/src/diagnostics_relay.c
@@ -36,7 +36,7 @@
*
* @return RESULT_SUCCESS when the result is 'Success',
* RESULT_FAILURE when the result is 'Failure',
- * or a negative value if an error occured during evaluation.
+ * or a negative value if an error occurred during evaluation.
*/
static int diagnostics_relay_check_result(plist_t dict)
{
diff --git a/src/installation_proxy.c b/src/installation_proxy.c
index 24044aa..7c2d336 100644
--- a/src/installation_proxy.c
+++ b/src/installation_proxy.c
@@ -286,7 +286,7 @@ LIBIMOBILEDEVICE_API instproxy_error_t instproxy_client_free(instproxy_client_t
* @param package_path The installation package path or NULL if not required.
*
* @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if
- * an error occured.
+ * an error occurred.
*/
static instproxy_error_t instproxy_send_command(instproxy_client_t client, plist_t command)
{
@@ -460,7 +460,7 @@ static void* instproxy_receive_status_loop_thread(void* arg)
*
* @return INSTPROXY_E_SUCCESS when the thread was created (async mode), or
* when the command completed successfully (sync).
- * An INSTPROXY_E_* error value is returned if an error occured.
+ * An INSTPROXY_E_* error value is returned if an error occurred.
*/
static instproxy_error_t instproxy_receive_status_loop_with_callback(instproxy_client_t client, plist_t command, instproxy_command_type_t async, instproxy_status_cb_t status_cb, void *user_data)
{
@@ -505,7 +505,7 @@ static instproxy_error_t instproxy_receive_status_loop_with_callback(instproxy_c
* @param user_data Callback data passed to status_cb.
*
* @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if
- * an error occured.
+ * an error occurred.
*/
static instproxy_error_t instproxy_perform_command(instproxy_client_t client, plist_t command, instproxy_command_type_t async, instproxy_status_cb_t status_cb, void *user_data)
{
diff --git a/src/lockdown.c b/src/lockdown.c
index 1a162ed..23f2782 100644
--- a/src/lockdown.c
+++ b/src/lockdown.c
@@ -219,7 +219,7 @@ static lockdownd_error_t lockdown_check_result(plist_t dict, const char *query_m
ret = lockdownd_strtoerr(err_value);
free(err_value);
} else {
- debug_info("ERROR: unknown error occured");
+ debug_info("ERROR: unknown error occurred");
}
}
return ret;
diff --git a/src/misagent.c b/src/misagent.c
index 095edba..91b8acb 100644
--- a/src/misagent.c
+++ b/src/misagent.c
@@ -57,7 +57,7 @@ static misagent_error_t misagent_error(property_list_service_error_t err)
/**
* Checks the response from misagent to determine if the operation
- * was successful or an error occured. Internally used only.
+ * was successful or an error occurred. Internally used only.
*
* @param response a PLIST_DICT received from device's misagent
* @param status_code pointer to an int that will be set to the status code
diff --git a/src/notification_proxy.c b/src/notification_proxy.c
index cd8e64c..eea01ca 100644
--- a/src/notification_proxy.c
+++ b/src/notification_proxy.c
@@ -247,7 +247,7 @@ LIBIMOBILEDEVICE_API np_error_t np_observe_notifications(np_client_t client, con
* with the notification that has been received.
*
* @return 0 if a notification has been received or nothing has been received,
- * or a negative value if an error occured.
+ * or a negative value if an error occurred.
*
* @note You probably want to check out np_set_notify_callback
* @see np_set_notify_callback
@@ -267,7 +267,7 @@ static int np_get_notification(np_client_t client, char **notification)
debug_info("NotificationProxy: no notification received!");
res = 0;
} else if (perr != PROPERTY_LIST_SERVICE_E_SUCCESS) {
- debug_info("NotificationProxy: error %d occured!", perr);
+ debug_info("NotificationProxy: error %d occurred!", perr);
res = perr;
}
if (dict) {
diff --git a/src/restore.c b/src/restore.c
index 4b578c2..6571a2f 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -41,7 +41,7 @@
*
* @return RESULT_SUCCESS when the result is 'Success',
* RESULT_FAILURE when the result is 'Failure',
- * or a negative value if an error occured during evaluation.
+ * or a negative value if an error occurred during evaluation.
*/
static int restored_check_result(plist_t dict)
{