From 5cc82a4af56299b6d36f7403194fbe3bbfb810fc Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 17 Nov 2008 12:07:55 +0100 Subject: [PATCH] buffer: use a_strlen() Signed-off-by: Julien Danjou --- common/buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/buffer.h b/common/buffer.h index d0e5a0d02..40732d349 100644 --- a/common/buffer.h +++ b/common/buffer.h @@ -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.