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:
Aaron Jones 2015-12-30 08:34:27 +00:00
parent 63b120e53f
commit 0e06053c33
No known key found for this signature in database
GPG key ID: 6E854C0FAAD4CEA4

View file

@ -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] = ' ';