diff --git a/include/ircd/buffer.h b/include/ircd/buffer.h index 6d8e61b7b..f0fcfde7f 100644 --- a/include/ircd/buffer.h +++ b/include/ircd/buffer.h @@ -540,7 +540,7 @@ template std::ostream & ircd::buffer::operator<<(std::ostream &s, const buffer &buffer) { - assert(!null(buffer)); + assert(!null(buffer) || get<1>(buffer) == nullptr); s.write(data(buffer), size(buffer)); return s; }