commit | 90540a87ec50fed575e28d9ec50887d708b3c05e | [log] [tgz] |
---|---|---|
author | Jim Schaad <ietf@augustcellars.com> | Sat May 02 16:11:04 2020 -0700 |
committer | Jim Schaad <ietf@augustcellars.com> | Mon May 04 11:19:27 2020 -0700 |
tree | 114d12621b9ea0cc97efe61f942b610254f4e3d3 | |
parent | e888bf48167da581704bddc73502e1e8009dd468 [diff] |
missed fil
diff --git a/src/cn-encoder.c b/src/cn-encoder.c index e9392c0..a6f14f9 100644 --- a/src/cn-encoder.c +++ b/src/cn-encoder.c
@@ -48,7 +48,7 @@ } cn_write_state; #define ensure_writable(sz) \ - if ((ws->buf != NULL) && ((ws->offset < 0) || (ws->offset + (sz) > ws->size))) { \ + if ((ws->buf != NULL) && (ws->offset + (sz) > ws->size)) { \ return false; \ }