diff options
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) { |
