[esnacc-dev] [PATCH 4/7] exp-buf: Set the correct mode
Aaron Conole
aconole at bytheb.org
Tue Dec 20 17:14:11 UTC 2016
Newly allocated expbufs should be set into the correct mode.
Signed-off-by: Aaron Conole <aconole at bytheb.org>
---
c-lib/src/exp-buf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/c-lib/src/exp-buf.c b/c-lib/src/exp-buf.c
index 243fe79..3bac68f 100644
--- a/c-lib/src/exp-buf.c
+++ b/c-lib/src/exp-buf.c
@@ -876,6 +876,7 @@ ExpBufPutSegRvs PARAMS ((b, data, len),
buf = buf->prev;
*b = buf; /* update head of list */
+ ExpBufResetInWriteRvsMode(*b);
bytesLeft = buf->dataStart - buf->blkStart;
}
--
2.7.4
More information about the dev
mailing list