diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-06-05 15:34:56 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-06-17 17:30:13 +0200 |
commit | f76e0b330f0be28f9f3af3073904ede3a34d48f5 (patch) | |
tree | 157597d534cf357a8bfddb1822a41902b4eba93b /rose/rsdwnlnk.c | |
parent | 406b11281cf451927ac348f0639161d2f084743f (diff) |
Reformat consistently. Strictly whitespace changes only.
Indentation by tabs only. Move case labels in switches are on the same
level as the switch keyword.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'rose/rsdwnlnk.c')
-rw-r--r-- | rose/rsdwnlnk.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/rose/rsdwnlnk.c b/rose/rsdwnlnk.c index 8c7bb08..dd1cb96 100644 --- a/rose/rsdwnlnk.c +++ b/rose/rsdwnlnk.c @@ -198,18 +198,18 @@ int main(int argc, char **argv) */ if (connect(s, (struct sockaddr *)&axconnect, addrlen) != 0) { switch (errno) { - case ECONNREFUSED: - strcpy(buffer, "*** Connection refused\r"); - break; - case ENETUNREACH: - strcpy(buffer, "*** No known route\r"); - break; - case EINTR: - strcpy(buffer, "*** Connection timed out\r"); - break; - default: - sprintf(buffer, "ERROR: cannot connect to AX.25 callsign, %s\r", strerror(errno)); - break; + case ECONNREFUSED: + strcpy(buffer, "*** Connection refused\r"); + break; + case ENETUNREACH: + strcpy(buffer, "*** No known route\r"); + break; + case EINTR: + strcpy(buffer, "*** Connection timed out\r"); + break; + default: + sprintf(buffer, "ERROR: cannot connect to AX.25 callsign, %s\r", strerror(errno)); + break; } close(s); |