summaryrefslogtreecommitdiffstats
path: root/src/mobilesync.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2015-01-28 01:27:59 +0100
committerGravatar Martin Szulecki2015-01-28 01:27:59 +0100
commit24ce2e27b47d3ad460680e02514f5bdbd4628724 (patch)
treeff174ebb7deab82d1f9c031d147e47e01bf47d3a /src/mobilesync.c
parentc9d8013c1a6d69ef8b6024166629413e481e185d (diff)
downloadlibimobiledevice-24ce2e27b47d3ad460680e02514f5bdbd4628724.tar.gz
libimobiledevice-24ce2e27b47d3ad460680e02514f5bdbd4628724.tar.bz2
Remove trailing whitespace errors from all files
Diffstat (limited to 'src/mobilesync.c')
-rw-r--r--src/mobilesync.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mobilesync.c b/src/mobilesync.c
index b07d536..06fb1c1 100644
--- a/src/mobilesync.c
+++ b/src/mobilesync.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * mobilesync.c 2 * mobilesync.c
3 * Contains functions for the built-in MobileSync client. 3 * Contains functions for the built-in MobileSync client.
4 * 4 *
5 * Copyright (c) 2010 Bryan Forbes All Rights Reserved. 5 * Copyright (c) 2010 Bryan Forbes All Rights Reserved.
6 * Copyright (c) 2009 Jonathan Beck All Rights Reserved. 6 * Copyright (c) 2009 Jonathan Beck All Rights Reserved.
7 * 7 *
@@ -9,15 +9,15 @@
9 * modify it under the terms of the GNU Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version. 11 * version 2.1 of the License, or (at your option) any later version.
12 * 12 *
13 * This library is distributed in the hope that it will be useful, 13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details. 16 * Lesser General Public License for more details.
17 * 17 *
18 * You should have received a copy of the GNU Lesser General Public 18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software 19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */ 21 */
22 22
23#define _GNU_SOURCE 1 23#define _GNU_SOURCE 1
@@ -328,7 +328,7 @@ static mobilesync_error_t mobilesync_get_records(mobilesync_client_t client, con
328 msg = plist_new_array(); 328 msg = plist_new_array();
329 plist_array_append_item(msg, plist_new_string(operation)); 329 plist_array_append_item(msg, plist_new_string(operation));
330 plist_array_append_item(msg, plist_new_string(client->data_class)); 330 plist_array_append_item(msg, plist_new_string(client->data_class));
331 331
332 err = mobilesync_send(client, msg); 332 err = mobilesync_send(client, msg);
333 333
334 if (msg) { 334 if (msg) {
@@ -710,7 +710,7 @@ LIBIMOBILEDEVICE_API mobilesync_error_t mobilesync_cancel(mobilesync_client_t cl
710 710
711LIBIMOBILEDEVICE_API mobilesync_anchors_t mobilesync_anchors_new(const char *device_anchor, const char *computer_anchor) 711LIBIMOBILEDEVICE_API mobilesync_anchors_t mobilesync_anchors_new(const char *device_anchor, const char *computer_anchor)
712{ 712{
713 mobilesync_anchors_t anchors = (mobilesync_anchors_t) malloc(sizeof(mobilesync_anchors)); 713 mobilesync_anchors_t anchors = (mobilesync_anchors_t) malloc(sizeof(mobilesync_anchors));
714 if (device_anchor != NULL) { 714 if (device_anchor != NULL) {
715 anchors->device_anchor = strdup(device_anchor); 715 anchors->device_anchor = strdup(device_anchor);
716 } else { 716 } else {