summaryrefslogtreecommitdiffstats
path: root/src/mobile_image_mounter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mobile_image_mounter.c')
-rw-r--r--src/mobile_image_mounter.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mobile_image_mounter.c b/src/mobile_image_mounter.c
index 9696b8c..c8c4c6f 100644
--- a/src/mobile_image_mounter.c
+++ b/src/mobile_image_mounter.c
@@ -8,15 +8,15 @@
8 * modify it under the terms of the GNU Lesser General Public 8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version. 10 * version 2.1 of the License, or (at your option) any later version.
11 * 11 *
12 * This library is distributed in the hope that it will be useful, 12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details. 15 * Lesser General Public License for more details.
16 * 16 *
17 * You should have received a copy of the GNU Lesser General Public 17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software 18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */ 20 */
21 21
22#include <string.h> 22#include <string.h>
@@ -40,7 +40,7 @@ static void mobile_image_mounter_lock(mobile_image_mounter_client_t client)
40 40
41/** 41/**
42 * Unlocks a mobile_image_mounter client, used for thread safety. 42 * Unlocks a mobile_image_mounter client, used for thread safety.
43 * 43 *
44 * @param client mobile_image_mounter client to unlock 44 * @param client mobile_image_mounter client to unlock
45 */ 45 */
46static void mobile_image_mounter_unlock(mobile_image_mounter_client_t client) 46static void mobile_image_mounter_unlock(mobile_image_mounter_client_t client)
@@ -231,7 +231,7 @@ LIBIMOBILEDEVICE_API mobile_image_mounter_error_t mobile_image_mounter_upload_im
231 plist_get_string_val(node, &strval); 231 plist_get_string_val(node, &strval);
232 } 232 }
233 if (!strval) { 233 if (!strval) {
234 debug_info("Error: Unexpected response received!"); 234 debug_info("Error: Unexpected response received!");
235 goto leave_unlock; 235 goto leave_unlock;
236 } 236 }
237 if (strcmp(strval, "Complete") != 0) { 237 if (strcmp(strval, "Complete") != 0) {
@@ -242,7 +242,7 @@ LIBIMOBILEDEVICE_API mobile_image_mounter_error_t mobile_image_mounter_upload_im
242 res = MOBILE_IMAGE_MOUNTER_E_SUCCESS; 242 res = MOBILE_IMAGE_MOUNTER_E_SUCCESS;
243 } 243 }
244 free(strval); 244 free(strval);
245 245
246 246
247leave_unlock: 247leave_unlock:
248 mobile_image_mounter_unlock(client); 248 mobile_image_mounter_unlock(client);