diff options
| author | 2018-10-08 13:39:31 +0200 | |
|---|---|---|
| committer | 2019-06-23 11:14:53 +0200 | |
| commit | 41ce2454b7f0b4a679070ea377545ba34f70095f (patch) | |
| tree | 0cc4c5b04c9e2b0e9de7672c0e61e0184614ca04 /src | |
| parent | b8df28038f3ca8a3a8be6569cea251d2506c3171 (diff) | |
| download | libimobiledevice-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.c | 2 | ||||
| -rw-r--r-- | src/installation_proxy.c | 6 | ||||
| -rw-r--r-- | src/lockdown.c | 2 | ||||
| -rw-r--r-- | src/misagent.c | 2 | ||||
| -rw-r--r-- | src/notification_proxy.c | 4 | ||||
| -rw-r--r-- | src/restore.c | 2 |
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 @@ | |||
| 36 | * | 36 | * |
| 37 | * @return RESULT_SUCCESS when the result is 'Success', | 37 | * @return RESULT_SUCCESS when the result is 'Success', |
| 38 | * RESULT_FAILURE when the result is 'Failure', | 38 | * RESULT_FAILURE when the result is 'Failure', |
| 39 | * or a negative value if an error occured during evaluation. | 39 | * or a negative value if an error occurred during evaluation. |
| 40 | */ | 40 | */ |
| 41 | static int diagnostics_relay_check_result(plist_t dict) | 41 | static int diagnostics_relay_check_result(plist_t dict) |
| 42 | { | 42 | { |
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 | |||
| 286 | * @param package_path The installation package path or NULL if not required. | 286 | * @param package_path The installation package path or NULL if not required. |
| 287 | * | 287 | * |
| 288 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if | 288 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if |
| 289 | * an error occured. | 289 | * an error occurred. |
| 290 | */ | 290 | */ |
| 291 | static instproxy_error_t instproxy_send_command(instproxy_client_t client, plist_t command) | 291 | static instproxy_error_t instproxy_send_command(instproxy_client_t client, plist_t command) |
| 292 | { | 292 | { |
| @@ -460,7 +460,7 @@ static void* instproxy_receive_status_loop_thread(void* arg) | |||
| 460 | * | 460 | * |
| 461 | * @return INSTPROXY_E_SUCCESS when the thread was created (async mode), or | 461 | * @return INSTPROXY_E_SUCCESS when the thread was created (async mode), or |
| 462 | * when the command completed successfully (sync). | 462 | * when the command completed successfully (sync). |
| 463 | * An INSTPROXY_E_* error value is returned if an error occured. | 463 | * An INSTPROXY_E_* error value is returned if an error occurred. |
| 464 | */ | 464 | */ |
| 465 | 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) | 465 | 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) |
| 466 | { | 466 | { |
| @@ -505,7 +505,7 @@ static instproxy_error_t instproxy_receive_status_loop_with_callback(instproxy_c | |||
| 505 | * @param user_data Callback data passed to status_cb. | 505 | * @param user_data Callback data passed to status_cb. |
| 506 | * | 506 | * |
| 507 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if | 507 | * @return INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if |
| 508 | * an error occured. | 508 | * an error occurred. |
| 509 | */ | 509 | */ |
| 510 | 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) | 510 | 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) |
| 511 | { | 511 | { |
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 | |||
| 219 | ret = lockdownd_strtoerr(err_value); | 219 | ret = lockdownd_strtoerr(err_value); |
| 220 | free(err_value); | 220 | free(err_value); |
| 221 | } else { | 221 | } else { |
| 222 | debug_info("ERROR: unknown error occured"); | 222 | debug_info("ERROR: unknown error occurred"); |
| 223 | } | 223 | } |
| 224 | } | 224 | } |
| 225 | return ret; | 225 | 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) | |||
| 57 | 57 | ||
| 58 | /** | 58 | /** |
| 59 | * Checks the response from misagent to determine if the operation | 59 | * Checks the response from misagent to determine if the operation |
| 60 | * was successful or an error occured. Internally used only. | 60 | * was successful or an error occurred. Internally used only. |
| 61 | * | 61 | * |
| 62 | * @param response a PLIST_DICT received from device's misagent | 62 | * @param response a PLIST_DICT received from device's misagent |
| 63 | * @param status_code pointer to an int that will be set to the status code | 63 | * @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 | |||
| 247 | * with the notification that has been received. | 247 | * with the notification that has been received. |
| 248 | * | 248 | * |
| 249 | * @return 0 if a notification has been received or nothing has been received, | 249 | * @return 0 if a notification has been received or nothing has been received, |
| 250 | * or a negative value if an error occured. | 250 | * or a negative value if an error occurred. |
| 251 | * | 251 | * |
| 252 | * @note You probably want to check out np_set_notify_callback | 252 | * @note You probably want to check out np_set_notify_callback |
| 253 | * @see np_set_notify_callback | 253 | * @see np_set_notify_callback |
| @@ -267,7 +267,7 @@ static int np_get_notification(np_client_t client, char **notification) | |||
| 267 | debug_info("NotificationProxy: no notification received!"); | 267 | debug_info("NotificationProxy: no notification received!"); |
| 268 | res = 0; | 268 | res = 0; |
| 269 | } else if (perr != PROPERTY_LIST_SERVICE_E_SUCCESS) { | 269 | } else if (perr != PROPERTY_LIST_SERVICE_E_SUCCESS) { |
| 270 | debug_info("NotificationProxy: error %d occured!", perr); | 270 | debug_info("NotificationProxy: error %d occurred!", perr); |
| 271 | res = perr; | 271 | res = perr; |
| 272 | } | 272 | } |
| 273 | if (dict) { | 273 | 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 @@ | |||
| 41 | * | 41 | * |
| 42 | * @return RESULT_SUCCESS when the result is 'Success', | 42 | * @return RESULT_SUCCESS when the result is 'Success', |
| 43 | * RESULT_FAILURE when the result is 'Failure', | 43 | * RESULT_FAILURE when the result is 'Failure', |
| 44 | * or a negative value if an error occured during evaluation. | 44 | * or a negative value if an error occurred during evaluation. |
| 45 | */ | 45 | */ |
| 46 | static int restored_check_result(plist_t dict) | 46 | static int restored_check_result(plist_t dict) |
| 47 | { | 47 | { |
