summaryrefslogtreecommitdiffstats
path: root/ax25/ax25d.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-06-05 02:34:19 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-06-17 17:17:29 +0200
commit4eb951133d9d301184ebd7b675598e11973b6ab8 (patch)
treed7647d95c75ee826eb6879c69206d689f900f3b8 /ax25/ax25d.c
parent1c830798fe54268cc0f9585b5940bea47fa8eb8a (diff)
Always have a space between if, for, switch, while and the following `('.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25/ax25d.c')
-rw-r--r--ax25/ax25d.c4
1 files changed, 2 insertions, 2 deletions
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++] = '%';