summaryrefslogtreecommitdiff
path: root/code/core/rbuf_send.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-09-09 12:43:40 +0200
committerUros Majstorovic <majstor@majstor.org>2017-09-09 12:43:40 +0200
commit4e0c427c546a6d664642f68cc6d11f879c537d29 (patch)
treeac436ce8da05c52ee1e0e1b1a7bad1f4008c8afe /code/core/rbuf_send.c
parent8d3e76d078cf1fd9d295391735ca4208eaa5f3de (diff)
fragments test added
Diffstat (limited to 'code/core/rbuf_send.c')
-rw-r--r--code/core/rbuf_send.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/core/rbuf_send.c b/code/core/rbuf_send.c
index 685280d..323596f 100644
--- a/code/core/rbuf_send.c
+++ b/code/core/rbuf_send.c
@@ -204,6 +204,8 @@ void ecp_rbuf_send_destroy(ECPConnection *conn) {
#ifdef ECP_WITH_PTHREAD
pthread_mutex_destroy(&buf->mutex);
#endif
+
+ conn->rbuf.send = NULL;
}
int ecp_rbuf_send_set_wsize(ECPConnection *conn, ecp_win_t size) {