diff options
| author | 2013-11-10 22:53:51 +0100 | |
|---|---|---|
| committer | 2013-11-10 22:53:51 +0100 | |
| commit | a12a053190c252498f171999cf5927d782fdbcb7 (patch) | |
| tree | 8b02b5df584f97f6d8c69a73932ab88ba7f9461d /src/notification_proxy.c | |
| parent | 24a37ba75cc95fdd4382ada67197163a84b9cb8f (diff) | |
| download | libimobiledevice-a12a053190c252498f171999cf5927d782fdbcb7.tar.gz libimobiledevice-a12a053190c252498f171999cf5927d782fdbcb7.tar.bz2 | |
property_list_service: Rename RECEIVE_TIMEOUT error for more clarity
Diffstat (limited to 'src/notification_proxy.c')
| -rw-r--r-- | src/notification_proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notification_proxy.c b/src/notification_proxy.c index d219b30..6073b76 100644 --- a/src/notification_proxy.c +++ b/src/notification_proxy.c | |||
| @@ -310,7 +310,7 @@ static int np_get_notification(np_client_t client, char **notification) | |||
| 310 | np_lock(client); | 310 | np_lock(client); |
| 311 | 311 | ||
| 312 | property_list_service_error_t perr = property_list_service_receive_plist_with_timeout(client->parent, &dict, 500); | 312 | property_list_service_error_t perr = property_list_service_receive_plist_with_timeout(client->parent, &dict, 500); |
| 313 | if (perr == PROPERTY_LIST_SERVICE_E_TIMEOUT) { | 313 | if (perr == PROPERTY_LIST_SERVICE_E_RECEIVE_TIMEOUT) { |
| 314 | debug_info("NotificationProxy: no notification received!"); | 314 | debug_info("NotificationProxy: no notification received!"); |
| 315 | res = 0; | 315 | res = 0; |
| 316 | } else if (perr != PROPERTY_LIST_SERVICE_E_SUCCESS) { | 316 | } else if (perr != PROPERTY_LIST_SERVICE_E_SUCCESS) { |
