fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-abis/+/36286?usp=email )
Change subject: [cosmetic] input/ipaccess.c: We use tab indent, not spaces [wtf] ......................................................................
[cosmetic] input/ipaccess.c: We use tab indent, not spaces [wtf]
Change-Id: I6ba728ccf7f6d81dc42d1ff82a29b557752e80ba (cherry picked from commit 361488f83f2cd721bc735ad65936320b2571590b) --- M src/input/ipaccess.c 1 file changed, 20 insertions(+), 10 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/86/36286/1
diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c index 418606e..4f6353b 100644 --- a/src/input/ipaccess.c +++ b/src/input/ipaccess.c @@ -639,15 +639,15 @@ LOGP(DLINP, LOGL_ERROR, "Failed to set keepalive count: %s\n", strerror(errno)); - val = 1000 * line->keepalive_num_probes * - line->keepalive_probe_interval + - line->keepalive_idle_timeout; - ret = setsockopt(fd, IPPROTO_TCP, TCP_USER_TIMEOUT, - &val, sizeof(val)); - if (ret < 0) + val = 1000 * line->keepalive_num_probes * + line->keepalive_probe_interval + + line->keepalive_idle_timeout; + ret = setsockopt(fd, IPPROTO_TCP, TCP_USER_TIMEOUT, + &val, sizeof(val)); + if (ret < 0) LOGP(DLINP, LOGL_ERROR, - "Failed to set user timoeut: %s\n", - strerror(errno)); + "Failed to set user timoeut: %s\n", + strerror(errno)); }
val = 1; @@ -718,8 +718,8 @@ struct osmo_fd *bfd; int i, ret;
- /* We don't know yet which OML link to associate it with. Thus, we - * allocate a temporary E1 line until we have received ID. */ + /* We don't know yet which OML link to associate it with. Thus, we + * allocate a temporary E1 line until we have received ID. */ line = e1inp_line_clone(tall_ipa_ctx, link->line, "ipa_bfd"); if (line == NULL) { LOGP(DLINP, LOGL_ERROR, "could not clone E1 line\n");