summaryrefslogtreecommitdiffstats
path: root/src/heartbeat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/heartbeat.c')
-rw-r--r--src/heartbeat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/heartbeat.c b/src/heartbeat.c
index fe7e63a..9a527cc 100644
--- a/src/heartbeat.c
+++ b/src/heartbeat.c
@@ -52,6 +52,10 @@ static heartbeat_error_t heartbeat_error(property_list_service_error_t err)
return HEARTBEAT_E_MUX_ERROR;
case PROPERTY_LIST_SERVICE_E_SSL_ERROR:
return HEARTBEAT_E_SSL_ERROR;
+ case PROPERTY_LIST_SERVICE_E_NOT_ENOUGH_DATA:
+ return HEARTBEAT_E_NOT_ENOUGH_DATA;
+ case PROPERTY_LIST_SERVICE_E_RECEIVE_TIMEOUT:
+ return HEARTBEAT_E_TIMEOUT;
default:
break;
}