0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd:Ⓜ️:events: Use better buffer size constant.

This commit is contained in:
Jason Volk 2020-10-16 01:00:41 -07:00
parent a9a54f11de
commit a4f105d390

View file

@ -719,7 +719,7 @@ ircd::m::events::origin::for_each(const string_view &prefix,
};
string_view last;
char buf[rfc3986::DOMAIN_BUFSIZE];
char buf[event::ORIGIN_MAX_SIZE];
for(auto it(column.lower_bound(prefix)); bool(it); ++it)
{
if(!m::dbs::is_event_sender_origin_key(it->first))