diff options
author | Harald Welte <laforge@osmocom.org> | 2024-02-21 18:15:59 +0100 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2024-03-15 00:38:19 +0700 |
commit | 5d83526f60cc31c3e56eaf43381f06b5b99671a0 (patch) | |
tree | 9d1c0b34442f5163e3b36cbffbd37b600f4fba52 | |
parent | e11a763bd42837be4e730704bbb58d3a042cd8b2 (diff) |
[cosmetic] input/ipaccess.c: We use tab indent, not spaces [wtf]
Change-Id: I6ba728ccf7f6d81dc42d1ff82a29b557752e80ba
(cherry picked from commit 361488f83f2cd721bc735ad65936320b2571590b)
-rw-r--r-- | src/input/ipaccess.c | 20 |
1 files changed, 10 insertions, 10 deletions
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 @@ static void update_fd_settings(struct e1inp_line *line, int fd) 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 @@ static int ipaccess_bsc_rsl_cb(struct ipa_server_link *link, int fd) 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"); |