From: Sebastian Harl Date: Sun, 14 Sep 2014 10:13:41 +0000 (+0200) Subject: strbuf utils: Clarified handling of binary data. X-Git-Tag: sysdb-0.5.0~38 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=210fe5d90e273805bdf764adc6167cdbf17c82b5;p=sysdb.git strbuf utils: Clarified handling of binary data. --- 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