mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
ircd: Fix ambiguous references to BSD stringops.
This commit is contained in:
parent
731e474b10
commit
4682e1fae4
3 changed files with 3 additions and 3 deletions
|
@ -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}
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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}
|
||||
{}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue