Skip to content
Snippets Groups Projects
Commit be7823d5 authored by Dmitry Simonenko's avatar Dmitry Simonenko
Browse files

connector-c-lite: tp_req fix

parent b00c3d95
No related branches found
No related tags found
No related merge requests found
...@@ -499,7 +499,7 @@ tp_reqbuf(char *buf, size_t size) { ...@@ -499,7 +499,7 @@ tp_reqbuf(char *buf, size_t size) {
static inline ssize_t static inline ssize_t
tp_req(struct tp *p) { tp_req(struct tp *p) {
return tp_reqbuf(p->s, tp_used(p)); return tp_reqbuf(p->s, tp_size(p));
} }
static inline size_t static inline size_t
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment