From 210fe5d90e273805bdf764adc6167cdbf17c82b5 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 14 Sep 2014 12:13:41 +0200 Subject: [PATCH] strbuf utils: Clarified handling of binary data. --- src/include/utils/strbuf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/utils/strbuf.h b/src/include/utils/strbuf.h index 5e9913d..c14192d 100644 --- a/src/include/utils/strbuf.h +++ b/src/include/utils/strbuf.h @@ -104,8 +104,8 @@ sdb_strbuf_sprintf(sdb_strbuf_t *strbuf, const char *fmt, ...) * interpret any information in the data pointer (including \0 bytes). * * These functions may be used to handle arbitrary byte arrays. Mixing these - * function calls with any of the printf-style function works but will usually - * lead to arbitrary behavior. + * function calls with any of the printf-style function works fine but the + * entire buffer content should then be treated as arbitrary bytes. * * Returns: * - the number of bytes written -- 2.30.2