diff options
author | Uros Majstorovic <majstor@majstor.org> | 2017-08-03 00:23:31 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2017-08-03 00:23:31 +0200 |
commit | 43c30eec5196fa8ace45cc703fffe38c69563220 (patch) | |
tree | 2dd1446490af478e53d002557505a54731958df8 /code/core/rbuf_send.c | |
parent | 804f291bd719c868778e2c624245113c219b3a36 (diff) |
fixed rbuf init
Diffstat (limited to 'code/core/rbuf_send.c')
-rw-r--r-- | code/core/rbuf_send.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/code/core/rbuf_send.c b/code/core/rbuf_send.c index 7ae5aca..5f3bc87 100644 --- a/code/core/rbuf_send.c +++ b/code/core/rbuf_send.c @@ -57,7 +57,6 @@ static ssize_t handle_ack(ECPConnection *conn, ecp_seq_t seq, unsigned char mtyp int ecp_rbuf_send_create(ECPRBSend *buf, ECPRBMessage *msg, unsigned int msg_size) { memset(buf, 0, sizeof(ECPRBRecv)); - memset(msg, 0, sizeof(ECPRBMessage) * msg_size); ecp_rbuf_init(&buf->rbuf, msg, msg_size); return ECP_OK; |