buffer: use a_strlen()

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-17 12:07:55 +01:00
parent 2946aa3750
commit 5cc82a4af5
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ buffer_add(buffer_t *buf, const void *data, int len)
*/
static inline void buffer_adds(buffer_t *buf, const char *s)
{
buffer_splice(buf, buf->len, 0, s, strlen(s));
buffer_splice(buf, buf->len, 0, s, a_strlen(s));
}
/** Add a char at the end of a buffer.