summaryrefslogtreecommitdiff
path: root/code/core/rbuf.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-08-22 05:44:21 +0200
committerUros Majstorovic <majstor@majstor.org>2017-08-22 05:44:21 +0200
commit680922c97ca94e832e75b20f5aa22a00a6a80420 (patch)
tree52c2427cc96782d2cee5541a29296d62ef26f2fd /code/core/rbuf.c
parent050bf97c2dc6c22e7b3134e281ee892e5351439f (diff)
seq implemented; conn reset implemented
Diffstat (limited to 'code/core/rbuf.c')
-rw-r--r--code/core/rbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/core/rbuf.c b/code/core/rbuf.c
index f4ec3a4..5cbc18e 100644
--- a/code/core/rbuf.c
+++ b/code/core/rbuf.c
@@ -9,7 +9,7 @@ int ecp_rbuf_init(ECPRBuffer *rbuf, ECPRBMessage *msg, unsigned int msg_size) {
rbuf->msg_size = msg_size;
memset(rbuf->msg, 0, sizeof(ECPRBMessage) * msg_size);
} else {
- rbuf->msg_size = ECP_RBUF_SEQ_HALF;
+ rbuf->msg_size = ECP_SEQ_HALF;
}
return ECP_OK;