author | Florian Forster <octo@collectd.org> | |
Wed, 17 Jun 2015 14:19:25 +0000 (16:19 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 17 Jun 2015 14:21:19 +0000 (16:21 +0200) | ||
commit | dff336960f8b0466ebcdd21abbeddb451d29e1f9 | |
tree | f6fd90d4dc034836f917e91afce500e15c9f4a12 | tree | snapshot |
parent | f0fbde90f3316fe2729f1f6f758a25b4b5cb7297 | commit | diff |
src/daemon/common.c: Implement strjoin() with memcpy().
The previous implementation used strncat() which has the unfortunate and
unintuitive behavior of copying n+1 bytes to the buffer.
The previous implementation used strncat() which has the unfortunate and
unintuitive behavior of copying n+1 bytes to the buffer.
src/common.c | diff | blob | history |