Fix erroneous use of wrong string concatenation function
Avoids warning: m_map.c:203:3: warning: implicit declaration of function ‘strlcat’ [-Wimplicit-function-declaration]
This commit is contained in:
parent
63b120e53f
commit
0e06053c33
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ flattened_map(struct Client *client_p)
|
|||
else
|
||||
rb_strlcpy(buf, " |- ", BUFSIZE);
|
||||
|
||||
strlcat(buf, target_p->name, BUFSIZE);
|
||||
rb_strlcat(buf, target_p->name, BUFSIZE);
|
||||
len = strlen(buf);
|
||||
buf[len] = ' ';
|
||||
|
||||
|
|
Loading…
Reference in a new issue