From 4eb951133d9d301184ebd7b675598e11973b6ab8 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 5 Jun 2013 02:34:19 +0200 Subject: Always have a space between if, for, switch, while and the following `('. Signed-off-by: Ralf Baechle --- ax25/ax25d.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ax25/ax25d.c') diff --git a/ax25/ax25d.c b/ax25/ax25d.c index 472b461..5135e1d 100644 --- a/ax25/ax25d.c +++ b/ax25/ax25d.c @@ -675,7 +675,7 @@ static void WorkoutArgs(int af_type, char *shell, int *argc, char **argv) if (*cp == '%') { cp++; - switch(*cp) { + switch (*cp) { case 'd': /* portname */ for (sp = Port; *sp != '\0' && *sp != '-'; sp++) buffer[cnt++] = *sp; @@ -712,7 +712,7 @@ static void WorkoutArgs(int af_type, char *shell, int *argc, char **argv) case 'p': /* NODENAME IN lower */ if (af_type == AF_NETROM) { - for(sp = Node; *sp != '\0' && *sp != '-'; sp++) + for (sp = Node; *sp != '\0' && *sp != '-'; sp++) buffer[cnt++] = tolower(*sp); } else { buffer[cnt++] = '%'; -- cgit v1.2.3