summaryrefslogtreecommitdiffstats
path: root/ax25/rxecho.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-06-05 01:47:40 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-06-17 17:12:26 +0200
commit90f6ab2eceada8987fc6e5017ae415eade165c00 (patch)
tree6dd7d7f057512b69861faa9c72420929789227db /ax25/rxecho.c
parent5feb3d651dbd1b096a26963bd1dffcfe0a5f9eea (diff)
Use tabs for indentation, not spaces.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25/rxecho.c')
-rw-r--r--ax25/rxecho.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ax25/rxecho.c b/ax25/rxecho.c
index e9c7daa..ab862bb 100644
--- a/ax25/rxecho.c
+++ b/ax25/rxecho.c
@@ -455,7 +455,7 @@ int main(int argc, char **argv)
}
for (;;) {
- alen = sa_len;
+ alen = sa_len;
if ((size = recvfrom(s, buf, 1500, 0, psa, &alen)) == -1) {
if (logging) {
@@ -479,11 +479,11 @@ int main(int argc, char **argv)
for (p = list; p != NULL; p = p->next)
#ifdef USE_SOCKADDR_SLL
- if (p->from_idx == from_idx && (check_calls(p, buf, size) == 0)) {
- sll.sll_ifindex = p->to_idx;
+ if (p->from_idx == from_idx && (check_calls(p, buf, size) == 0)) {
+ sll.sll_ifindex = p->to_idx;
#else
- if ((strcmp(p->from, from_dev_name) == 0) && (check_calls(p, buf, size) == 0)) {
- strcpy(psa->sa_data, p->to);
+ if ((strcmp(p->from, from_dev_name) == 0) && (check_calls(p, buf, size) == 0)) {
+ strcpy(psa->sa_data, p->to);
#endif
/*
* cave: alen (set by recvfrom()) may > salen