summaryrefslogtreecommitdiffstats
path: root/src/screenshotr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screenshotr.c')
-rw-r--r--src/screenshotr.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/screenshotr.c b/src/screenshotr.c
index 5c4a53f..ddb9d6e 100644
--- a/src/screenshotr.c
+++ b/src/screenshotr.c
@@ -2,7 +2,7 @@
2 * screenshotr.c 2 * screenshotr.c
3 * com.apple.mobile.screenshotr service implementation. 3 * com.apple.mobile.screenshotr service implementation.
4 * 4 *
5 * Copyright (c) 2010 Nikias Bassen All Rights Reserved. 5 * Copyright (c) 2010-2019 Nikias Bassen, All Rights Reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public 8 * modify it under the terms of the GNU Lesser General Public
@@ -50,6 +50,10 @@ static screenshotr_error_t screenshotr_error(device_link_service_error_t err)
50 return SCREENSHOTR_E_PLIST_ERROR; 50 return SCREENSHOTR_E_PLIST_ERROR;
51 case DEVICE_LINK_SERVICE_E_MUX_ERROR: 51 case DEVICE_LINK_SERVICE_E_MUX_ERROR:
52 return SCREENSHOTR_E_MUX_ERROR; 52 return SCREENSHOTR_E_MUX_ERROR;
53 case DEVICE_LINK_SERVICE_E_SSL_ERROR:
54 return SCREENSHOTR_E_SSL_ERROR;
55 case DEVICE_LINK_SERVICE_E_RECEIVE_TIMEOUT:
56 return SCREENSHOTR_E_RECEIVE_TIMEOUT;
53 case DEVICE_LINK_SERVICE_E_BAD_VERSION: 57 case DEVICE_LINK_SERVICE_E_BAD_VERSION:
54 return SCREENSHOTR_E_BAD_VERSION; 58 return SCREENSHOTR_E_BAD_VERSION;
55 default: 59 default: