mirror of
https://github.com/matrix-construct/construct
synced 2024-09-30 04:38:52 +02: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
|
const string_view &query
|
||||||
{
|
{
|
||||||
!startswith(search_term, '@')?
|
!startswith(search_term, '@')?
|
||||||
string_view{strlcat{qbuf, search_term}}:
|
string_view{ircd::strlcat{qbuf, search_term}}:
|
||||||
string_view{search_term}
|
string_view{search_term}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -939,7 +939,7 @@ bool
|
||||||
console_cmd__prof__vg__dump(opt &out, const string_view &line)
|
console_cmd__prof__vg__dump(opt &out, const string_view &line)
|
||||||
{
|
{
|
||||||
char reason[128];
|
char reason[128];
|
||||||
prof::vg::dump(data(strlcpy(reason, line)));
|
prof::vg::dump(data(ircd::strlcpy(reason, line)));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@ struct node
|
||||||
void push(std::shared_ptr<unit>);
|
void push(std::shared_ptr<unit>);
|
||||||
|
|
||||||
node(const string_view &remote)
|
node(const string_view &remote)
|
||||||
:remote{strlcpy{rembuf, remote}}
|
:remote{ircd::strlcpy{mutable_buffer{rembuf}, remote}}
|
||||||
,room{this->remote}
|
,room{this->remote}
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue