summaryrefslogtreecommitdiffstats
path: root/src/sbservices.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbservices.c')
-rw-r--r--src/sbservices.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/sbservices.c b/src/sbservices.c
index 9b66c7f..c761070 100644
--- a/src/sbservices.c
+++ b/src/sbservices.c
@@ -61,19 +61,19 @@ static void sbs_unlock(sbservices_client_t client)
*/
static sbservices_error_t sbservices_error(property_list_service_error_t err)
{
- switch (err) {
- case PROPERTY_LIST_SERVICE_E_SUCCESS:
- return SBSERVICES_E_SUCCESS;
- case PROPERTY_LIST_SERVICE_E_INVALID_ARG:
- return SBSERVICES_E_INVALID_ARG;
- case PROPERTY_LIST_SERVICE_E_PLIST_ERROR:
- return SBSERVICES_E_PLIST_ERROR;
- case PROPERTY_LIST_SERVICE_E_MUX_ERROR:
- return SBSERVICES_E_CONN_FAILED;
- default:
- break;
- }
- return SBSERVICES_E_UNKNOWN_ERROR;
+ switch (err) {
+ case PROPERTY_LIST_SERVICE_E_SUCCESS:
+ return SBSERVICES_E_SUCCESS;
+ case PROPERTY_LIST_SERVICE_E_INVALID_ARG:
+ return SBSERVICES_E_INVALID_ARG;
+ case PROPERTY_LIST_SERVICE_E_PLIST_ERROR:
+ return SBSERVICES_E_PLIST_ERROR;
+ case PROPERTY_LIST_SERVICE_E_MUX_ERROR:
+ return SBSERVICES_E_CONN_FAILED;
+ default:
+ break;
+ }
+ return SBSERVICES_E_UNKNOWN_ERROR;
}
/**