summaryrefslogtreecommitdiffstats
path: root/tools/idevicesyslog.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 /tools/idevicesyslog.c
parentc9d8013c1a6d69ef8b6024166629413e481e185d (diff)
downloadlibimobiledevice-24ce2e27b47d3ad460680e02514f5bdbd4628724.tar.gz
libimobiledevice-24ce2e27b47d3ad460680e02514f5bdbd4628724.tar.bz2
Remove trailing whitespace errors from all files
Diffstat (limited to 'tools/idevicesyslog.c')
-rw-r--r--tools/idevicesyslog.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c
index 23f74ab..4bc4b45 100644
--- a/tools/idevicesyslog.c
+++ b/tools/idevicesyslog.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 <stdio.h> 22#include <stdio.h>
@@ -187,7 +187,7 @@ int main(int argc, char *argv[])
187 } 187 }
188 idevice_event_unsubscribe(); 188 idevice_event_unsubscribe();
189 stop_logging(); 189 stop_logging();
190 190
191 if (udid) { 191 if (udid) {
192 free(udid); 192 free(udid);
193 } 193 }
@@ -198,7 +198,7 @@ int main(int argc, char *argv[])
198void print_usage(int argc, char **argv) 198void print_usage(int argc, char **argv)
199{ 199{
200 char *name = NULL; 200 char *name = NULL;
201 201
202 name = strrchr(argv[0], '/'); 202 name = strrchr(argv[0], '/');
203 printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0])); 203 printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0]));
204 printf("Relay syslog of a connected device.\n\n"); 204 printf("Relay syslog of a connected device.\n\n");