From ff7ffade2f5686ae977af578cb87040cc4654994 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sun, 29 Aug 2021 16:25:40 +0200 Subject: ecp code cleanup --- ecp/src/rbuf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ecp/src/rbuf.c') diff --git a/ecp/src/rbuf.c b/ecp/src/rbuf.c index 534381c..05eb5ae 100644 --- a/ecp/src/rbuf.c +++ b/ecp/src/rbuf.c @@ -78,8 +78,9 @@ ssize_t ecp_rbuf_pld_send(ECPConnection *conn, ECPBuffer *packet, ECPBuffer *pay ECPNetAddr addr; ECPSeqItem seq_item; ssize_t rv; + int _rv; - int _rv = ecp_seq_item_init(&seq_item); + _rv = ecp_seq_item_init(&seq_item); if (_rv) return _rv; seq_item.seq = seq; -- cgit v1.2.3