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

ircd: Fix ambiguous references to BSD stringops.

This commit is contained in:
Danilo Spinella 2019-06-06 03:49:11 -07:00 committed by Jason Volk
parent 731e474b10
commit 4682e1fae4
3 changed files with 3 additions and 3 deletions

View file

@ -45,7 +45,7 @@ post__search(client &client,
const string_view &query
{
!startswith(search_term, '@')?
string_view{strlcat{qbuf, search_term}}:
string_view{ircd::strlcat{qbuf, search_term}}:
string_view{search_term}
};

View file

@ -939,7 +939,7 @@ bool
console_cmd__prof__vg__dump(opt &out, const string_view &line)
{
char reason[128];
prof::vg::dump(data(strlcpy(reason, line)));
prof::vg::dump(data(ircd::strlcpy(reason, line)));
return true;
}

View file

@ -85,7 +85,7 @@ struct node
void push(std::shared_ptr<unit>);
node(const string_view &remote)
:remote{strlcpy{rembuf, remote}}
:remote{ircd::strlcpy{mutable_buffer{rembuf}, remote}}
,room{this->remote}
{}
};