falconia has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-e1d/+/37320?usp=email )
Change subject: mux_demux.c cosmetic: fix indent level in _e1_tx_raw()
......................................................................
mux_demux.c cosmetic: fix indent level in _e1_tx_raw()
Change-Id: Ie0674d6500c9f66b58a7fca8bf28dada035d28d0
---
M src/mux_demux.c
1 file changed, 18 insertions(+), 9 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/20/37320/1
diff --git a/src/mux_demux.c b/src/mux_demux.c
index dd8ca45..a0ae717 100644
--- a/src/mux_demux.c
+++ b/src/mux_demux.c
@@ -48,19 +48,19 @@
static int
_e1_tx_raw(struct e1_ts *ts, uint8_t *buf, int len)
{
- int l;
+ int l;
- l = read(ts->fd, buf, len);
- /* FIXME: handle underflow */
+ l = read(ts->fd, buf, len);
+ /* FIXME: handle underflow */
- /* If we're not started yet, we 'fake' data until the other side
- * send something */
- if (l < 0 && errno == EAGAIN && !ts->raw.tx_started)
- return len;
+ /* If we're not started yet, we 'fake' data until the other side
+ * send something */
+ if (l < 0 && errno == EAGAIN && !ts->raw.tx_started)
+ return len;
- ts->raw.tx_started = true;
+ ts->raw.tx_started = true;
- return l;
+ return l;
}
static int
--
To view, visit
https://gerrit.osmocom.org/c/osmo-e1d/+/37320?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: Ie0674d6500c9f66b58a7fca8bf28dada035d28d0
Gerrit-Change-Number: 37320
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-MessageType: newchange