summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gatchat/gathdlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/gathdlc.c b/gatchat/gathdlc.c
index dd11043c..2d9eb6a6 100644
--- a/gatchat/gathdlc.c
+++ b/gatchat/gathdlc.c
@@ -177,9 +177,9 @@ static void new_bytes(struct ring_buffer *rbuf, gpointer user_data)
}
}
+out:
ring_buffer_drain(rbuf, pos);
-out:
hdlc->in_read_handler = FALSE;
if (hdlc->destroyed)