summaryrefslogtreecommitdiffstats
path: root/src/notification_proxy.c
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/notification_proxy.c
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/notification_proxy.c')
-rw-r--r--src/notification_proxy.c4
1 files changed, 2 insertions, 2 deletions
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) {