strlcat -> rb_strlcat
This commit is contained in:
parent
f427c8b00d
commit
1f9de103c3
14 changed files with 29 additions and 95 deletions
|
@ -92,12 +92,12 @@ dump_map(struct Client *client_p, struct Client *root_p, char *pbuf)
|
|||
rb_dlink_node *ptr;
|
||||
*pbuf = '\0';
|
||||
|
||||
strlcat(pbuf, root_p->name, BUFSIZE);
|
||||
rb_strlcat(pbuf, root_p->name, BUFSIZE);
|
||||
if (has_id(root_p))
|
||||
{
|
||||
strlcat(pbuf, "[", BUFSIZE);
|
||||
strlcat(pbuf, root_p->id, BUFSIZE);
|
||||
strlcat(pbuf, "]", BUFSIZE);
|
||||
rb_strlcat(pbuf, "[", BUFSIZE);
|
||||
rb_strlcat(pbuf, root_p->id, BUFSIZE);
|
||||
rb_strlcat(pbuf, "]", BUFSIZE);
|
||||
}
|
||||
len = strlen(buf);
|
||||
buf[len] = ' ';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue