diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-08-29 16:25:40 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-08-29 16:25:40 +0200 |
commit | ff7ffade2f5686ae977af578cb87040cc4654994 (patch) | |
tree | 9b44f006a0d70535095928dcff06d7f26abe59e2 /ecp/src/rbuf.c | |
parent | cdaa2560c0271585317450b57047a7f812d8366e (diff) |
ecp code cleanup
Diffstat (limited to 'ecp/src/rbuf.c')
-rw-r--r-- | ecp/src/rbuf.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |